Re: [GENERAL] Things I learned about PG8 on AIX5.3 with XLC compiler

2005-06-07 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > Mohan, Ross wrote: >> 2) Not clear (to me, a nonprogrammer) whether this is GNU C, ANSI C, >> "Postgres" C, or what the overall coding protocol is. > Postgres is mostly ANSI C89, with limited use of GNU C extensions (which > should be limited to inside #

Re: [GENERAL] Things I learned about PG8 on AIX5.3 with XLC compiler

2005-06-07 Thread Neil Conway
Mohan, Ross wrote: 1) Many (many!) uninitialized variables in code. Optimizers don't do well with this. Um, what? 2) Not clear (to me, a nonprogrammer) whether this is GNU C, ANSI C, "Postgres" C, or what the overall coding protocol is. Postgres is mostly ANSI C89, with limited use

Re: [GENERAL] Things I learned about PG8 on AIX5.3 with XLC compiler

2005-06-07 Thread Mohan, Ross
there is no more "Visual Age" compiler. It's been re-branded as XL C/C++. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Browne Sent: Tuesday, June 07, 2005 3:23 PM To: pgsql-general@postgresql.org Subject: Re: [GEN

Re: [GENERAL] Things I learned about PG8 on AIX5.3 with XLC compiler

2005-06-07 Thread Chris Browne
[EMAIL PROTECTED] ("Mohan, Ross") writes: It would be worthwhile to try to formulate this as a patch to the FAQ_AIX file. Probably something like PostgreSQL 8 on AIX 5.3, compiled using VisualAge C -- - Use only default optimization. Highe

[GENERAL] Things I learned about PG8 on AIX5.3 with XLC compiler

2005-06-07 Thread Mohan, Ross
Just a short,terse list: Don't use nondefault optimization. There is something going on with the code that breaks, runtime, when compiled (which works fine per se) with higher optimization levels. IPA is a real difficulty. Remember to set OBJECT_MODE=64 in OS env! upgrading m4/autoconf and t