Re: [BUGS] Bus Error in psql command history

2009-09-30 Thread Tom Lane
Alvaro Herrera writes: > I think Mac OS X ships a broken libreadline. What happens if you > compile with a stock one? FWIW, it's still broken in Snow Leopard :-(. Stack trace is (gdb) bt #0 0x000100097ccc in re_putc () #1 0x0001000981f6 in re_refresh () #2 0x000100097b67 in el_g

Re: [BUGS] Bus Error in psql command history

2009-09-30 Thread Alvaro Herrera
Isaac Morland wrote: > I run psql on Mac OS X: > Please advise if you would like any more details about the > behaviour. I can think of a few things to investigate but none that > jumps out as the obvious thing to look into. I think Mac OS X ships a broken libreadline. What happens if you comp

[BUGS] Bus Error in psql command history

2009-09-30 Thread Isaac Morland
I run psql on Mac OS X: psql (8.4.1, server 8.4.0) Then paste the following in, having been copied from an XCode editor window: CREATE OR REPLACE FUNCTION compute_mw_realname ( nicknames text, givennames text, surname text ) RETURNS text AS $$ DECLARE first text;