Re: ss_family in hba.c

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Kurt Roeckx <Q(at)ping(dot)be>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ss_family in hba.c
Date: 2003-06-18 03:47:37
Message-ID: 20030618034737.GA8035@wolff.to
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 22:49:00 +0200,
Kurt Roeckx <Q(at)ping(dot)be> wrote:
> 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?

I am going to look around a bit and see if I can figure this out.
Things worked fine before Bruce changed this stuff. Presumably the
changed code is working for the "core" or the change would have
been reverted days ago.

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-18 04:01:27 Re: ss_family in hba.c
Previous Message Bruce Momjian 2003-06-18 01:12:56 Re: [HACKERS] sa_family_t in cygwin compile of cvs

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-18 04:01:27 Re: ss_family in hba.c
Previous Message Mike Mascari 2003-06-18 02:42:08 Re: How to convert Oracle database to Postgresql.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-18 04:01:27 Re: ss_family in hba.c
Previous Message Christopher Kings-Lynne 2003-06-18 03:44:07 lots of configure failures on freebsd/alpha

Browse pgsql-patches by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-18 04:01:27 Re: ss_family in hba.c
Previous Message Peter Eisentraut 2003-06-17 22:31:50 Re: [HACKERS] CVS -Tip compile issue -- FreeBSD 4.8