On 6/30/20 12:13 AM, Amit Kapila wrote:
> On Mon, Jun 29, 2020 at 8:48 PM Andrew Dunstan
> wrote:
>>
>>
>>
>> It needs to be a path from the Windows POV, not an Msys virtualized
>> path. So c:/tmp or just /tmp should work, but /c/tmp or similar probably
>> will not. The directory needs to exist.
On Mon, Jun 29, 2020 at 8:48 PM Andrew Dunstan
wrote:
>
>
> On 6/28/20 4:33 AM, Peter Eisentraut wrote:
> > On 2020-06-27 13:57, Amit Kapila wrote:
> >> Fair enough, but what should be the behavior in the Windows versions
> >> (<10) where Unix-domain sockets are not supported?
> >
> > You get an e
On 6/28/20 4:33 AM, Peter Eisentraut wrote:
> On 2020-06-27 13:57, Amit Kapila wrote:
>> Fair enough, but what should be the behavior in the Windows versions
>> (<10) where Unix-domain sockets are not supported?
>
> You get an error about an unsupported address family, similar to
> trying to use
On Sun, Jun 28, 2020 at 2:03 PM Peter Eisentraut
wrote:
>
> On 2020-06-27 13:57, Amit Kapila wrote:
> > BTW, in which
> > format the path needs to be specified for unix_socket_directories? I
> > tried with '/c/tmp', 'c:/tmp', 'tmp' but nothing seems to be working,
> > it gives me errors like: "co
On 2020-06-27 13:57, Amit Kapila wrote:
Fair enough, but what should be the behavior in the Windows versions
(<10) where Unix-domain sockets are not supported?
You get an error about an unsupported address family, similar to trying
to use IPv6 on a system that doesn't support it.
BTW, in wh
On Sat, Jun 27, 2020 at 3:06 PM Peter Eisentraut
wrote:
>
> On 2020-06-26 14:21, Amit Kapila wrote:
> > On Sat, Mar 28, 2020 at 7:37 PM Peter Eisentraut
> > wrote:
> >>
> >> Enable Unix-domain sockets support on Windows
> >>
> >
> > +
> > +/*
> > + * Windows headers don't define this structure,
On 2020-06-26 14:21, Amit Kapila wrote:
On Sat, Mar 28, 2020 at 7:37 PM Peter Eisentraut wrote:
Enable Unix-domain sockets support on Windows
+
+/*
+ * Windows headers don't define this structure, but you can define it yourself
+ * to use the functionality.
+ */
+struct sockaddr_un
+{
+ u
On Sat, Mar 28, 2020 at 7:37 PM Peter Eisentraut wrote:
>
> Enable Unix-domain sockets support on Windows
>
+
+/*
+ * Windows headers don't define this structure, but you can define it yourself
+ * to use the functionality.
+ */
+struct sockaddr_un
+{
+ unsigned short sun_family;
+ char sun_p