gcc compiler on my machine is 4.6.1, but I didn't compile it myself. just installed the binary from apt-get. I will try to compile it by myself to see what will happen On Mon, Jul 25, 2011 at 8:18 PM, Tomas Vondra <tv@xxxxxxxx> wrote: > On 25 Červenec 2011, 11:39, Yan Chunlu wrote: >> I am using debian ant apt-get to install postgresql, dpkg list shows >> they are the same? is there anyway to tell what's version it is >> compiled from? thanks! > > AFAIK there's no way to find out which compiler was used to build > PostgreSQL binaries (IIRC this is not in pg_config). So you can do this > > gcc --version > > That should print version of the default compiler, and it's very likely it > was used to build the PostgreSQL binaries. If it's 4.6.0, you've been hit > by the problem Fujii Masao described. Use a different gcc version and it > should work fine. > > Tomas > > -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general