Re: [BUGS] Bug Report with Postgres 7.4 on AIX 5.3

2005-05-11 Thread Andrew - Supernews
On 2005-05-11, Vincent Vanwynsberghe <[EMAIL PROTECTED]> wrote: > The AIX 5.3 provide the structure sockaddr_storage : > > struct sockaddr_storage { > ushort_t__ss_family;/* address family */ > char__ss_pad1[_SS_PAD1SIZE]; /* pad up to alignment > field */ >

Re: [BUGS] Bug Report with Postgres 7.4 on AIX 5.3

2005-05-11 Thread Tom Lane
Vincent Vanwynsberghe <[EMAIL PROTECTED]> writes: > The AIX 5.3 provide the structure sockaddr_storage : > ... > In Postgress this structure sockaddr_storage is filled with the structure > sockaddr_un but the size of sockaddr_storage > is less then the size of sockaddr_un and cause a memory overfl

Re: [BUGS] Bug Report with Postgres 7.4 on AIX 5.3

2005-05-11 Thread Vincent Vanwynsberghe
PROTECTED]; pgsql-bugs@postgresql.org > Subject: Re: [BUGS] Bug Report with Postgres 7.4 on AIX 5.3 > > > Vincent Vanwynsberghe <[EMAIL PROTECTED]> writes: > > In our platform the sizeof of struct sockaddr_un is 1025 and > the sizeof of > > SockAddr is 144. > > Doesn&#x

Re: [BUGS] Bug Report with Postgres 7.4 on AIX 5.3

2005-05-10 Thread Tom Lane
Vincent Vanwynsberghe <[EMAIL PROTECTED]> writes: > In our platform the sizeof of struct sockaddr_un is 1025 and the sizeof of > SockAddr is 144. Doesn't AIX provide struct sockaddr_storage? That struct has to be at least as large as any of the other platform-specific sockaddr structs.

[BUGS] Bug Report with Postgres 7.4 on AIX 5.3

2005-05-10 Thread Vincent Vanwynsberghe
Dear Support, We try to install Postgres 7.4 on AIX 5.3 (IBM,9111-520). The compilation is good and we are able to start the postmaster. When we try to start the psql we got the following error : FATAL: unsupported frontend protocol 0.0: server supports 1.0 to 3.0 We run the psql under the AIX d