Re: [HACKERS] race condition for drop schema cascade?

2004-12-28 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > I have just seen this error again, this time on Cygwin. I did a trawl thought > the buildfarm history looking for other occurrences and found it happening on > many platforms: [ yawning... ] I've got to go to bed now, but so far tonight my Fedora Cor

Re: [HACKERS] race condition for drop schema cascade?

2004-12-28 Thread Andrew Dunstan
Tom Lane wrote: Andrew Dunstan <[EMAIL PROTECTED]> writes: I have seen this failure several times, but not consistently, on the buildfarm member otter (Debian/MIPS) and possible on others, and am wondering if it indicates a possible race condition on DROP SCHEMA CASCADE. Hard to see what

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Mark Kirkwood
Bruce Momjian wrote: well, I usually get results that differ by that much from run to run. Probably you ran in to more checkpoints on the second test. Also, did you reinitialize the bench database with pgbench -i ? I destroyed the database and recreated it. The only way I managed to contro

Re: [HACKERS] buildfarm NetBSD/m68k tsearch regression failure

2004-12-28 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > This result is now seen for HEAD on buildfarm member osprey: Yeah, I was wondering about that. It should be easy to reproduce the failure by hand (just run the tsearch regression test and then re-execute that query) --- can we see a debugger stack trac

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Bruce Momjian
John Hansen wrote: > > > > I ran some tests last week and can report results similar on Tom's test: > > > > > > > > pgbench -i -s 10 bench > > > > pgbench -c 10 -t 1 bench > > > > > > don't you have to specify the scaling factor for the benchmark as well? > as in pgbench -c 1

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread John Hansen
> > > I ran some tests last week and can report results similar on Tom's test: > > > > > > pgbench -i -s 10 bench > > > pgbench -c 10 -t 1 bench > > > don't you have to specify the scaling factor for the benchmark as well? as in pgbench -c 10 -t 1 -s 10 bench ? > I just tried and go

[HACKERS] buildfarm NetBSD/m68k tsearch regression failure

2004-12-28 Thread Andrew Dunstan
This result is now seen for HEAD on buildfarm member osprey: = pgsql.23138/contrib/tsearch/regression.diffs === *** ./expected/tsearch.out Tue Dec 28 12:05:27 2004 --- ./results/tsearch.out Tue Dec 28 19:52:47 2004 *** *** 312,322 (1 row) SELECT

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Simon Riggs
On Tue, 2004-12-28 at 07:23, John Hansen wrote: > > I ran some tests last week and can report results similar on Tom's test: > > > > pgbench -i -s 10 bench > > pgbench -c 10 -t 1 bench > > > > The tests were on a machine with a single SCSI drive that doesn't lie > > about fsync. I fo

Re: [HACKERS] Windows default to localhost is in the wrong place

2004-12-28 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> ISTM that libpq itself ought to default to localhost, rather than >> failing, on machines that don't have Unix sockets. > So then it would be picked up by pg_dump, createdb etc., plus third > party clients? Not a bad idea. Are you go

Re: [HACKERS] Windows default to localhost is in the wrong place

2004-12-28 Thread Andrew Dunstan
Tom Lane wrote: Isn't this fix in the wrong place? 2004-03-23 22:10 momjian * src/bin/psql/startup.c: >>Also, what is the default connection mode of psql? It should probably be >>equivalent to "-h localhost", shouldn't it? >> >> > >Now that

[HACKERS] Windows default to localhost is in the wrong place

2004-12-28 Thread Tom Lane
Isn't this fix in the wrong place? 2004-03-23 22:10 momjian * src/bin/psql/startup.c: >>Also, what is the default connection mode of psql? It should probably be >>equivalent to "-h localhost", shouldn't it? >> >> > >Now that is something I

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > John Hansen wrote: > >> On another note, how do you know for sure, that your drive does not lie > >> about fsync? > > > I just tried and got 115tps with fsync off vs 100 with fsync on, so > > fsync is certainly doing something. > > [ raised eyebrow...

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Tom Lane
Bruce Momjian writes: > John Hansen wrote: >> On another note, how do you know for sure, that your drive does not lie >> about fsync? > I just tried and got 115tps with fsync off vs 100 with fsync on, so > fsync is certainly doing something. [ raised eyebrow... ] Something is wrong with that.

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Bruce Momjian
John Hansen wrote: > > I ran some tests last week and can report results similar on Tom's test: > > > > pgbench -i -s 10 bench > > pgbench -c 10 -t 1 bench > > > > The tests were on a machine with a single SCSI drive that doesn't lie > > about fsync. I found 7.4.X got around 75tps wh

Re: [HACKERS] Multiple language support

2004-12-28 Thread Andrew Dunstan
[EMAIL PROTECTED] wrote: Are there any plans for modifying the message outputs from the programs to support multiple languages? Most of the messages (at least in things like the database engine and utilities like initdb etc) have messages hard coded in English. This does not affect me very much, b

[HACKERS] Multiple language support

2004-12-28 Thread lsunley
Are there any plans for modifying the message outputs from the programs to support multiple languages? Most of the messages (at least in things like the database engine and utilities like initdb etc) have messages hard coded in English. This does not affect me very much, but I have at least 6 beta

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Bruce Momjian
Merlin Moncure wrote: > Bruce Momjian wrote: > > What are the open issues before we can release an RC3? I don't know > of > > any except the btree problem OSDL found. Is that fixed? Are their > > others? > > There sill may be an issue with the statistics collector resetting > randomly on a win3

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Bruce Momjian
Magnus Hagander wrote: > > What are the open issues before we can release an RC3? I > > don't know of any except the btree problem OSDL found. Is > > that fixed? Are their others? > > There is the issue with shared mem on Win2003 that came up the other > day. I don't think it's a general erro

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > There is the issue with shared mem on Win2003 that came up the other > day. I don't think it's a general error, but rather something > environment specific. (I've had several reports of ppl with fairly large > databases in production on win2003 that d

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Tom Lane
Bruce Momjian writes: > What are the open issues before we can release an RC3? I don't know of > any except the btree problem OSDL found. Is that fixed? No; we haven't seen a test case yet, or even any details except the error message. FWIW, I think it's highly likely that whatever bug Mark ha

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Merlin Moncure
> There is the issue with shared mem on Win2003 that came up the other > day. I don't think it's a general error, but rather something > environment specific. (I've had several reports of ppl with fairly large > databases in production on win2003 that don't have this problem). But > it'd be good to

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Merlin Moncure
Bruce Momjian wrote: > What are the open issues before we can release an RC3? I don't know of > any except the btree problem OSDL found. Is that fixed? Are their > others? There sill may be an issue with the statistics collector resetting randomly on a win32 server under heavy load. I have not

Re: [HACKERS] Ready for RC3?

2004-12-28 Thread Magnus Hagander
> What are the open issues before we can release an RC3? I > don't know of any except the btree problem OSDL found. Is > that fixed? Are their others? There is the issue with shared mem on Win2003 that came up the other day. I don't think it's a general error, but rather something environment

Re: [HACKERS] displaying contents

2004-12-28 Thread Alvaro Herrera
On Mon, Dec 27, 2004 at 03:11:11PM -0600, Jaime Casanova wrote: Jaime, > there is way to display all the values (fields) in a > tree node like this? for debug purpouses. > > Query*query; Have you tried gdb already? You attach it to a running backend and can query the (err) Query struct.

Re: [HACKERS] Bgwriter behavior

2004-12-28 Thread Bruce Momjian
Added to TODO: * Improve the background writer Allow the background writer to more efficiently write dirty buffers from the end of the LRU cache and use a clock sweep algorithm to write other dirty buffers to reduced checkpoint I/O