Re: ss_family in hba.c

From: Kurt Roeckx <Q(at)ping(dot)be>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ss_family in hba.c
Date: 2003-06-17 20:49:00
Message-ID: 20030617204900.GA5589@ping.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-general pgsql-hackers pgsql-patches

On Tue, Jun 17, 2003 at 03:32:32PM -0500, Bruno Wolff III wrote:
> I was looking at this some more and now think there is something wrong
> with the references to ss_family rather than a missing inlcude file.
> Perhaps those were supposed to be references to sa_family or there
> is a missing field from the socket_storage type definition.

The struct sockaddr_storage should only have 1 field you can use
and that is ss_family. The other fields are there just to get
the right size and padding.

Does your system have it's own (broken?) struct sockaddr_storage
maybe?

Kurt

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Mike Aubury 2003-06-17 21:05:06 Re: ss_family in hba.c
Previous Message Bruno Wolff III 2003-06-17 20:32:32 ss_family in hba.c

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Lebedev 2003-06-17 21:03:38 Re: Deferrable constraints
Previous Message Bruno Wolff III 2003-06-17 20:32:32 ss_family in hba.c

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Aubury 2003-06-17 21:05:06 Re: ss_family in hba.c
Previous Message Sebastien Lemieux 2003-06-17 20:36:08 Extending PostgreSQL in C or C++

Browse pgsql-patches by date

  From Date Subject
Next Message Mike Aubury 2003-06-17 21:05:06 Re: ss_family in hba.c
Previous Message Bruno Wolff III 2003-06-17 20:32:32 ss_family in hba.c