Re: [BUGS] psql - Segmentation Fault

2010-08-30 Thread wstrzalka
On 30 Sie, 20:10, t...@sss.pgh.pa.us (Tom Lane) wrote: > wstrzalka writes: > > finally I press up arrow to reexecute and that causes "Segmentation > > fault" and psql to exit > > That would be a problem in libreadline, not in our code.  There was > somebody else complaining of a bug in Solaris' re

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Alex Zepeda
Tom Lane wrote: Alex Zepeda writes: I'd be happy to provide someone with a copy of the dump... but it's ~70MB bzip'd. I'd be willing to take a look ... but if my WAG is right, the insertion order would be critical information to reproduce the problem. Is it possible to tell what order the ro

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Tom Lane
Alex Zepeda writes: > I'd be happy to provide someone with a copy of the dump... > but it's ~70MB bzip'd. I'd be willing to take a look ... but if my WAG is right, the insertion order would be critical information to reproduce the problem. Is it possible to tell what order the rows were inserted

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Alex Zepeda
Tom Lane wrote: Alex Zepeda writes: If I try to manually add the constraint on the table I get: blockface=# alter table bus_positions add constraint "exclude_time_buffer" EXCLUDE USING gist (vehicle WITH =, buffer_time WITH &&, bbox_dup WITH &&); NOTICE: ALTER TABLE / ADD EXCLUDE will create

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Tom Lane
Alex Zepeda writes: > If I try to manually add the constraint on the table I get: > blockface=# alter table bus_positions add constraint "exclude_time_buffer" > EXCLUDE USING gist (vehicle WITH =, buffer_time WITH &&, bbox_dup WITH &&); > NOTICE: ALTER TABLE / ADD EXCLUDE will create implicit in

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Jeff Davis
On Mon, 2010-08-30 at 19:40 -0400, Tom Lane wrote: > That's really *not* supposed to happen, assuming that both machines have > IEEE float arithmetic and competently written float I/O code. On my machine I see: => select float4in(float4out((1::numeric + 1e-7::numeric)::float4)) = (1::numeric

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Tom Lane
Jeff Davis writes: > On Mon, 2010-08-30 at 19:40 -0400, Tom Lane wrote: >> That's really *not* supposed to happen, assuming that both machines have >> IEEE float arithmetic and competently written float I/O code. > On my machine I see: > => select float4in(float4out((1::numeric + 1e-7::numeric):

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Alex Zepeda
Jeff Davis wrote: Are you using any floating point values, or floating-point timestamps (that's a compile-time option)? I'm using whatever the default compile time options are. It's worth noting that if I delete the row, and then attempt to insert a row with the same data on the original data

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Tom Lane
Jeff Davis writes: > On Mon, 2010-08-30 at 14:05 -0700, Alex Zepeda wrote: >> I dumped a table with an exclude constraint with pg_dump, and loaded it >> into another instance of postgres where it promptly failed to create the >> constraint. The complaint was... key conflicts with key. IOW, >>

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Tom Lane
Alex Zepeda writes: > I dumped a table with an exclude constraint with pg_dump, and loaded it > into another instance of postgres where it promptly failed to create the > constraint. The complaint was... key conflicts with key. IOW, > duplicate data. > This should not happen, correct? If it

Re: [BUGS] Exclude constraint problem

2010-08-30 Thread Jeff Davis
On Mon, 2010-08-30 at 14:05 -0700, Alex Zepeda wrote: > Short version: > > I dumped a table with an exclude constraint with pg_dump, and loaded it > into another instance of postgres where it promptly failed to create the > constraint. The complaint was... key conflicts with key. IOW, > dupli

[BUGS] Exclude constraint problem

2010-08-30 Thread Alex Zepeda
I'm relatively unsure where and how to proceed. Short version: I dumped a table with an exclude constraint with pg_dump, and loaded it into another instance of postgres where it promptly failed to create the constraint. The complaint was... key conflicts with key. IOW, duplicate data. Thi

Re: [BUGS] psql - Segmentation Fault

2010-08-30 Thread Tom Lane
wstrzalka writes: > finally I press up arrow to reexecute and that causes "Segmentation > fault" and psql to exit That would be a problem in libreadline, not in our code. There was somebody else complaining of a bug in Solaris' readline just recently :-(. Might be worthwhile to install your own

[BUGS] psql - Segmentation Fault

2010-08-30 Thread wstrzalka
I'm having problems with psql. Looks like bug. Steps to reproduce on my box (100% segfaults): #psql -U postgres -d mydb $EXPLAIN ANALYZE SELECT . after 20s I'm getting a plan & at the end there is smth like "stdin: END" then I press ENTER and I have back psql console\ finally I press up arrow

Re: [BUGS] BUG #5634: timezone/trigger issue

2010-08-30 Thread Tom Lane
"Jaseb Betts" writes: > /pgsql/src/timezone/tznames/Default/ doesn't include CAT The reason that that's a user-configurable file is that it's impossible to satisfy everybody :-(. Just add the abbreviations you use locally. regards, tom lane -- Sent via pgsql-bugs maili

[BUGS] BUG #5634: timezone/trigger issue

2010-08-30 Thread Jaseb Betts
The following bug has been logged online: Bug reference: 5634 Logged by: Jaseb Betts Email address: ja...@free.net.nz PostgreSQL version: 8.3 Operating system: Windows xp 32 bit Description:timezone/trigger issue Details: /pgsql/src/timezone/tznames/Default/ doesn't