Re: [BUGS] pg_stat_statements produces multiple entries for a single query with track = 'top'

2013-08-10 Thread Peter Geoghegan
not directly issued by the client here. If this is the behavior we want for SQL functions, that is something that ought to be highlighted as a special case. -- Peter Geoghegan -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] pg_stat_statements produces multiple entries for a single query with track = 'top'

2013-08-10 Thread Peter Geoghegan
006ffca9 in BackendStartup (port=0x239e2b0) at postmaster.c:3304 #68 0x006fcacb in ServerLoop () at postmaster.c:1367 #69 0x006fc3c2 in PostmasterMain (argc=2, argv=0x23792a0) at postmaster.c:1127 #70 0x006676ba in main (argc=2, argv=0x23792a0) at main.c:199 These pg_stat_st

Re: [BUGS] BUG #8161: Several instances of Postgres service

2013-05-14 Thread Peter Geoghegan
On Tue, May 14, 2013 at 2:47 PM, John R Pierce wrote: > on a typical unix system, with one user connection active, I see 8 processes > active at present... To be fair, you need to use process explorer or something to see equivalent information on Windows. Most people never will. --

Re: [BUGS] BUG #8013: Memory leak

2013-03-31 Thread Peter Geoghegan
On 30 March 2013 14:01, wrote: > env CFLAGS='-O3 -march=native' ./configure --with-segsize=128 Why did you build with a segment size of 128GB? Postgres binaries built with a non-standard segment size are not widely used. -- Regards, Peter Geoghegan -- Sent via pgsql-bugs

Re: [BUGS] Questions about PostgreSQL Setup License

2013-03-14 Thread Peter Geoghegan
ink you're safe. -- Regards, Peter Geoghegan -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #7903: EAN13s are shown ISBN values

2013-02-26 Thread Peter Geoghegan
rd-party library that does maintain such a database so > that this module could be based upon that instead of having to maintain > the database itself? No, there is not. The textual representation of the types - the dashes - are fairly odd, but it's too late to fix that. -- Regard

Re: [BUGS] BUG #7903: EAN13s are shown ISBN values

2013-02-23 Thread Peter Geoghegan
is correct using SQL, using this simple method: https://en.wikipedia.org/wiki/EAN-13#Calculation_of_checksum_digit We actually discussed changing the formatting of isn along the lines you've discussed, and it was shot down. I'd just like to see it go. -- Regards, Peter Geoghegan -- Sent via pgs

Re: [BUGS] Arbitrary whitespace restrictions on range types

2012-12-18 Thread Peter Geoghegan
ur may be astonishing, but that doesn't make it a POLA violation. I don't have time to check now, but I'm pretty sure that doing something else would break a whole bunch of other common cases. -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Suppor

Re: [BUGS] BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"

2012-11-18 Thread Peter Geoghegan
x-like systems follow LLP64 (or LLP32) in practice. sizeof(int) is 4 on Windows (though, in contrast to LLP64, sizeof(long) is 4 too on 64-bit windows). -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailin

Re: [BUGS] BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"

2012-11-18 Thread Peter Geoghegan
will work rather than fail. Right. sizeof(int) is very probably 4 on all platforms that we support. I see no problem with the proposal. -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-b

Re: [BUGS] BUG #7670: BUG #7545: Unresponsive server with error log reporting: "poll() failed: Invalid argument"

2012-11-18 Thread Peter Geoghegan
seems to think can cause this error with poll(), so this seems like a slight variant of the problem reported by Sean Chittenden (kernel resource exhaustion causes pipe creation to fail, with unnecessarily bad consequences for Postgres). -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL

Re: [BUGS] BUG #7648: Momentary index corruption while in hot standby

2012-11-10 Thread Peter Geoghegan
dtyje6wtuy4tgdjuq6eutjjp0ctfladp9qwp8got...@mail.gmail.com -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] Segmentation Fault V 9.1.5

2012-08-30 Thread Peter Geoghegan
q version that actually has commit 4e816286533dd34c10b368487d4079595a3e1418, can you produce a GDB back trace of the php process, by doing the same thing as the complainant that posted to the php bug tracker? The process is documented here: https://bugs.php.net/bugs-generating-backtrace.php -- Pe

Re: [BUGS] Segmentation Fault V 9.1.5

2012-08-30 Thread Peter Geoghegan
; /lib64/libdl.so.2 (0x7f87530a4000) libutil.so.1 => /lib64/libutil.so.1 (0x7f8752ea1000) libm.so.6 => /lib64/libm.so.6 (0x7f8752ba6000) /lib64/ld-linux-x86-64.so.2 (0x003cdc40) Is the libpq shared object you see here (but for pgsql.so) the one tha

Re: [BUGS] BUG #6672: Memory leaks in dumputils.c

2012-06-01 Thread Peter Geoghegan
de may have contained errors, even though it was evident to me that they actually did not. That said, it probably wouldn't hurt to give it another try sometime soon. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sen

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Peter Geoghegan
On 29 January 2012 23:47, Josh Berkus wrote: > This is *so* not a discussion to have on the pgsql-bugs list.  Please > take it to -hackers. I suppose you're right, since the first discussion occurred there and didn't really go anywhere. -- Peter Geoghegan       http://www

[BUGS] Silly typo in proc.h

2012-01-29 Thread Peter Geoghegan
line with this stuff. Should I continue to report trivialities like these as bugs? I would think that in the case of documentation the answer is "yes", but I can't help but feel slightly silly about reporting cases like this. -- Peter Geoghegan       http://www.2ndQuadrant.com/ Postg

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Peter Geoghegan
On 29 January 2012 21:19, Peter Geoghegan wrote: > Is it really that much of a problem to create a new severity level for > this stuff? I should probably have quoted this refinement, which was part of the discussion that I originally quoted Robert from: On 24 November 2011 16:55, Alvaro H

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Peter Geoghegan
the log > to enable the DBA to figure out that the first error message is likely > nothing more serious than an integrity constraint doing its bit to > preserve data integrity, while the second is likely a sign of > impending disaster. Is it really that much of a problem to creat

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Peter Geoghegan
, "could not find plan for CTE \"%s\"", rte->ctename) (which would necessitate creating a new severity level, INTERNAL_ERROR). So that DBAs could find these kinds of problems systematically. This is an error message that we expect no one to see. -- Peter Geoghegan    

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Peter Geoghegan
like an integrity constraint violation. I continue to maintain that we should have a new severity level for this sort of thing. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@post

Re: [BUGS] BUG #6200: standby bad memory allocations on SELECT

2012-01-28 Thread Peter Geoghegan
here: http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make chan

[BUGS] Doc-bug; minor typo in auto_explain documentation

2012-01-26 Thread Peter Geoghegan
I noticed the following in the auto_explain documentation: "This can have extremely negative impact on performance." Surely it should say: "This can have an extremely negative impact on performance." -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Devel

Re: [BUGS] Documentation bug: reference to checkpoint activity in bgwriter

2012-01-19 Thread Peter Geoghegan
On 20 January 2012 02:53, Robert Haas wrote: > OK, done. Thanks -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: h

Re: [BUGS] Incorrect comment in heapam.c

2012-01-17 Thread Peter Geoghegan
On 17 January 2012 01:37, Robert Haas wrote: >> It's a fairly inconsequential bug, but it is worth fixing... > > Fixed. Thanks. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing

Re: [BUGS] Documentation bug: reference to checkpoint activity in bgwriter

2012-01-09 Thread Peter Geoghegan
On 9 January 2012 18:47, Robert Haas wrote: > On Sat, Dec 31, 2011 at 8:54 PM, Peter Geoghegan > wrote: >> ISTM that the following reference, at config.sgml line 1345, ought to >> be adjusted due to the introduction of the new checkpointer process: >> >>

[BUGS] Documentation bug: reference to checkpoint activity in bgwriter

2011-12-31 Thread Peter Geoghegan
ISTM that the following reference, at config.sgml line 1345, ought to be adjusted due to the introduction of the new checkpointer process: Setting this to zero disables background writing (except for checkpoint activity). -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL

Re: [BUGS] Incorrect comment in heapam.c

2011-12-21 Thread Peter Geoghegan
On 20 December 2011 18:11, Tom Lane wrote: > Simon Riggs writes: >> On Tue, Dec 20, 2011 at 5:50 PM, Peter Geoghegan >> wrote: >>> In fact, that macro is defined in access/htup.h...should it be? > >> IMHO comment is wrong, code is in the right place. > >

[BUGS] Incorrect comment in heapam.c

2011-12-20 Thread Peter Geoghegan
Line 834 of heapam.c has the following comment: /* * This is formatted so oddly so that the correspondence to the macro * definition in access/heapam.h is maintained. */ In fact, that macro is defined in access/htup.h...should it be? -- Peter Geoghegan       http://www.2ndQuadrant.com

Re: [BUGS] About Wince App

2011-12-11 Thread Peter Geoghegan
On 11 December 2011 17:53, Cihan ŞENGÜL wrote: > Hi > Libpqwce are published. Gösterilemiyor.Bana reference to VB NET 2003. NET > 2003, I can reference the DLL required for VB I don't understand. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Sup

Re: [BUGS] About Wince App

2011-12-10 Thread Peter Geoghegan
inCE libpq port very successfully. I built it from source too, as there were binary compatibility problems with some of the ARM devices that had custom WinCE kernels (not uncommon - WinCE is available under a "shared source" agreement), but not others that didn't. What'

Re: [BUGS] BUG #6300: duplicate key value violates unique constraint

2011-11-24 Thread Peter Geoghegan
ot;severe error". > > +1 +1 On reflection, that's better than what I proposed. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #6300: duplicate key value violates unique constraint

2011-11-23 Thread Peter Geoghegan
INTERNAL_ERROR), 464:(errcode(ERRCODE_INTERNAL_ERROR), 526:(errcode(ERRCODE_INTERNAL_ERROR), A new severity level is called for. In addition, if we had a new severity level, the footprint wouldn't be too bad on all those legacy elog() calls as compa

[BUGS] Typo in nbtsort.c

2011-10-01 Thread Peter Geoghegan
I noticed this typo in a comment in the file nbtsort.c: /* * We need to log index creation in WAL iff WAL archiving/streaming is * enabled UNLESS the index isn't WAL-logged anyway. */ I suggest an s/iff/if/ -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development,

Re: [BUGS] "no relation entry for relid 1"

2011-09-29 Thread Peter Geoghegan
On 29 September 2011 23:15, Tom Lane wrote: > Peter Geoghegan writes: >> I've built Postgres from master, and found that the following fairly >> simple query breaks: > >> select count(*) >> from >> ( >>       select >>       schemaname >&g

Re: [BUGS] "no relation entry for relid 1"

2011-09-29 Thread Peter Geoghegan
On 29 September 2011 21:59, Merlin Moncure wrote: > hm -- works for me (9.1.0) It works for me on REL9_1_STABLE too, unsurprisingly, as I would think it highly unlikely that such a glaring bug would slip into a stable release. -- Peter Geoghegan       http://www.2ndQuadrant.com/ Postgre

[BUGS] "no relation entry for relid 1"

2011-09-29 Thread Peter Geoghegan
e "no relation entry for relid 1". Why is that? -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org