Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-08 Thread Rudolf Leitgeb
Problem solved! The was a left over readline.h which caused the miscompile process :( Thanks a lot for all your help ! Cheers, Rudi Am 08.09.2008 um 15:03 schrieb Tom Lane: Rudolf Leitgeb <[EMAIL PROTECTED]> writes: Sorry for the delay, here are the compile warnings I got when I compiled ta

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-08 Thread Tom Lane
Rudolf Leitgeb <[EMAIL PROTECTED]> writes: > Sorry for the delay, here are the compile warnings > I got when I compiled tab-complete.c for x86_64: > = > tab-complete.c: In function ‘psql_completion’: > tab-complete.c:601: warning: implici

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-08 Thread Rudolf Leitgeb
Sorry for the delay, here are the compile warnings I got when I compiled tab-complete.c for x86_64: = tab-complete.c: In function ‘psql_completion’: tab-complete.c:601: warning: implicit declaration of function ‘completion_matches’ tab-com

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-04 Thread Tom Lane
Rudolf Leitgeb <[EMAIL PROTECTED]> writes: > Yes, libedit is used. On Mac OSX libreadline is a soft link > to libedit, so that's what's used regardless of configure settings. Actually, given that you got compile warnings, the thing to focus on is probably what readline #include files were used. I

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-04 Thread Rudolf Leitgeb
Yes, libedit is used. On Mac OSX libreadline is a soft link to libedit, so that's what's used regardless of configure settings. Here are the version numbers: $ ll /usr/lib/libreadline.dylib lrwxr-xr-x 1 root wheel 15 2 Apr 18:51 /usr/lib/libreadline.dylib - > libedit.2.dylib $ ll /usr/lib

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-03 Thread Tom Lane
I wrote: > "Rudolf Leitgeb" <[EMAIL PROTECTED]> writes: >> - Compile psql for x86_64. This can be easily done with the following >> commands: >> CFLAGS="-Os -arch x86_64" LDFLAGS="-arch x86_64" ./configure >> --disable-depend --with-pam --with-openssl >> --prefix=/Users/rleitgeb/pq_x86_64 > I d

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-03 Thread Tom Lane
"Rudolf Leitgeb" <[EMAIL PROTECTED]> writes: > - Compile psql for x86_64. This can be easily done with the following > commands: > CFLAGS="-Os -arch x86_64" LDFLAGS="-arch x86_64" ./configure > --disable-depend --with-pam --with-openssl > --prefix=/Users/rleitgeb/pq_x86_64 I don't think it's re

Re: [BUGS] BUG #4397: crash in tab-complete.c

2008-09-03 Thread Euler Taveira de Oliveira
Rudolf Leitgeb escreveu: > - Compile psql for x86_64. This can be easily done with the following > commands: > > CFLAGS="-Os -arch x86_64" LDFLAGS="-arch x86_64" ./configure > --disable-depend --with-pam --with-openssl > --prefix=/Users/rleitgeb/pq_x86_64 > Are you using libedit, right? What is

[BUGS] BUG #4397: crash in tab-complete.c

2008-09-03 Thread Rudolf Leitgeb
The following bug has been logged online: Bug reference: 4397 Logged by: Rudolf Leitgeb Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3.3 Operating system: OSX Leopard Description:crash in tab-complete.c Details: When I compiled postgresql for different tar