Re: [BUGS] BUG #5459: Unable to cancel query while in send()

2010-05-12 Thread Andres Freund
Hi, On Wednesday 12 May 2010 03:44:16 Tom Lane wrote: Mason Hale ma...@onespot.com writes: ISSUE: unable to cancel queries using pg_cancel_backend(), that are in send() function call, waiting on client receipt of data. I think what you are describing is a kernel bug. There's not a lot we

Re: [BUGS] PostgreSQL 8.4 - dumping database connection privileges

2010-05-12 Thread Russell Smith
On 03/05/10 01:30, Tom Lane wrote: Russell Smith mr-r...@pws.com.au writes: On 02/05/10 01:36, Tom Lane wrote: No, that's the intended place for them given the current division of labor between pg_dump and pg_dumpall. There have been complaints before about this, but no one has

[BUGS] pg_restore ignores -C when using a restore list -L

2010-05-12 Thread Russell Smith
Hi, pg_restore silently ignores the inclusion of -C when you do use a restore list. postgres$ pg_dump -Fc postgres postgres.dump postgres$ pg_restore -C postgres.dump | grep 'CREATE DATABASE' CREATE DATABASE postgres WITH TEMPLATE = template0 ENCODING = 'UTF8'; ## Create a restore list

[BUGS] Bug-fix and new feature of pg_lesslog is released

2010-05-12 Thread Koichi Suzuki
It is an announcement that long-waited bug-fix of pg_lesslog is now released. This includes the following. 1. Error in calculation of GiST-related WAL record length was fixed. 2. pg_compresslog now has an option to print WAL segment analysis. 3. New test script is added which analyzes what WAL

Re: [BUGS] bool: symbol name collision

2010-05-12 Thread Greg Stark
On Tue, May 11, 2010 at 8:47 PM, Tom Lane t...@sss.pgh.pa.us wrote: Alex Hunsaker bada...@gmail.com writes: You mean i'd get the pleasure of 'fixing' all my 3rd party C modules? Yeah, it's the implications for 3rd-party modules that make me not want to do this.  A search replace on our own

Re: [BUGS] bool: symbol name collision

2010-05-12 Thread Greg Stark
On Wed, May 12, 2010 at 1:01 PM, Peter Eisentraut pete...@gmx.net wrote: The problem with the bool type is that it could have different sizes on different systems.  Which will lead to problems.  I doubt that that problem exists with int4. I could imagine macros that do the wrong thing if the

Re: [BUGS] BUG #5459: Unable to cancel query while in send()

2010-05-12 Thread Tom Lane
Andres Freund and...@anarazel.de writes: I can reproduce the issue though when the connection just is very, very slow (high packet loss). Uppon receiving a signal the send returns with EINTR uppon which point I think a check for interrupts might be placed. The gdb trace you showed before

Re: [BUGS] pg_restore ignores -C when using a restore list -L

2010-05-12 Thread Tom Lane
Russell Smith mr-r...@pws.com.au writes: pg_restore silently ignores the inclusion of -C when you do use a restore list. It would work as you expect if you use -C when creating the list file. The reason for this is that -C basically means don't skip the DATABASE entry. When you use -l without

[BUGS] Bug report (#5456) not showing up on the ML

2010-05-12 Thread Rumko
Hi! 2 days ago I made a bug report through the bug reporting form on postgresql.org regarding some unusual bloat in my TOAST tables, but it still hasn't shown up on this ML, so I guess it's stuck in the moderation queue. Could someone look at it (and hopefully approve it so it ends up here)? I

Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-12 Thread Tom Lane
Rumko rum...@gmail.com writes: INFO: vacuuming pg_toast.pg_toast_1066371 INFO: pg_toast_1066371: found 0 removable, 3259181 nonremovable row versions in 3259181 pages DETAIL: 0 dead row versions cannot be removed yet. Nonremovable row versions range from 57 to 122 bytes long. There were

Re: [BUGS] Giant TOAST tables due to many almost empty pages

2010-05-12 Thread Rumko
Tom Lane wrote: snip There's something extremely wacko about that vacuum output. A toast table should have few, if any, rows that short. And it's impossible to believe there's no free space at all in the table, especially since 122*3259181 bytes is still quite a lot less than 3259181