Re: ss_family in hba.c

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: ss_family in hba.c
Дата
Msg-id 20030617204900.GA5589@ping.be
обсуждение исходный текст
Ответ на ss_family in hba.c  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: ss_family in hba.c  (Mike Aubury <mike@aubit.com>)
Re: ss_family in hba.c  (Bruno Wolff III <bruno@wolff.to>)
Re: ss_family in hba.c  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Sebastien Lemieux
Дата:
Сообщение: Extending PostgreSQL in C or C++
Следующее
От: Mike Aubury
Дата:
Сообщение: Re: ss_family in hba.c