Re: [HACKERS] ftp.postgresql.org points to new server ...

2001-09-30 Thread Oleg Bartunov
Marc, will hub.org::postgresql-ftp works Oleg On Sun, 30 Sep 2001, Marc G. Fournier wrote: > > now that the 18gig is in place and I have space once more to work, > ftp.postgresql.org now points at the new server (~ftp for those that > login) ... let me know if there are any problems ...

Re: [HACKERS] CVS changes

2001-09-30 Thread Oleg Bartunov
Something is broken with anon cvs: cvs server: Updating pgsql/contrib/pgstattuple cvs server: failed to create lock directory for /projects/cvsroot/pgsql/contrib/pgstattuple' (/projects/cvsroot/pgsql/contrib/pgstattuple/#cvs.lock): Permission denied cvs server: failed to obtain dir lock in repo

Re: [HACKERS] cvs tip problems

2001-09-30 Thread Tom Lane
"Joe Conway" <[EMAIL PROTECTED]> writes: > I just grabbed cvs tip this afternoon and ran into two issues: > - First one is that the regression fails on "geometry" on what appears to be > a difference in the 13th decimal place of the output value. See the attached > regression diff. Looks like it

[HACKERS] Problem on AIX with current

2001-09-30 Thread Tatsuo Ishii
Per Tom's request(1000 concurrent backends), I tried current on IBM AIX 5L and found that make check hungs: parallel group (13 tests): float4 oid varchar pgbench hungs too if more than 4 or so concurrent backends are involved. Unfortunately gdb does not work well on AIX, so I'm stucked. Maybe a

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Lincoln Yeoh
At 08:16 PM 30-09-2001 -0600, Steve Wolfe wrote: >> > >> > How hard would it be to pre-fork an extra backend for the database a >> > user just requested so if they next user asks for the same database, the >> > backend would already be started? > > Perhaps I'm missing something, but it seems to m

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Bruce Momjian
> > > > > > How hard would it be to pre-fork an extra backend for the database a > > > user just requested so if they next user asks for the same database, the > > > backend would already be started? > > Perhaps I'm missing something, but it seems to me that the cost of forking > a new backend

[HACKERS] cvs tip problems

2001-09-30 Thread Joe Conway
I just grabbed cvs tip this afternoon and ran into two issues: - First one is that the regression fails on "geometry" on what appears to be a difference in the 13th decimal place of the output value. See the attached regression diff. - Second was on reloading my data, I got the following error me

Re: [HACKERS] ftp.postgresql.org points to new server ...

2001-09-30 Thread Marc G. Fournier
web server and ftp server are now on the same machine, actually . everything is now merged together once more ... On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > now that the 18gig is in place and I have space once more to work, > > ftp.postgresql.org now points at the new server (~ftp fo

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Steve Wolfe
> > > > How hard would it be to pre-fork an extra backend for the database a > > user just requested so if they next user asks for the same database, the > > backend would already be started? Perhaps I'm missing something, but it seems to me that the cost of forking a new backend would be prett

Re: [HACKERS] PL/pgSQL bug?

2001-09-30 Thread Tatsuo Ishii
> This is a well-known problem: plpgsql caches a query plan that refers > to the first version of the temp table, and it doesn't know it needs > to rebuild the plan. AFAIK the only workaround at present is to use > EXECUTE for queries referencing the temp table. But EXECUTE does not support sele

Re: [HACKERS] CVS changes

2001-09-30 Thread Vince Vielhaber
On Sun, 30 Sep 2001, Bruce Momjian wrote: > > On Mon, 1 Oct 2001, Peter Eisentraut wrote: > > > > > Bruce Momjian writes: > > > > > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > > > minutes and rebuild if necessary. Overnight builds are not frequent > > > > enoug

Re: [HACKERS] CVS changes

2001-09-30 Thread Bruce Momjian
> On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > On Mon, 1 Oct 2001, Peter Eisentraut wrote: > > > > > > > Bruce Momjian writes: > > > > > > > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > > > > minutes and rebuild if necessary. Overnight builds are not freque

Re: [HACKERS] CVS changes

2001-09-30 Thread Bruce Momjian
> On Mon, 1 Oct 2001, Peter Eisentraut wrote: > > > Bruce Momjian writes: > > > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > > minutes and rebuild if necessary. Overnight builds are not frequent > > > enough for people modifying the SGML files. > > > > This is n

Re: [HACKERS] CVS changes

2001-09-30 Thread Bruce Momjian
> Bruce Momjian writes: > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > minutes and rebuild if necessary. Overnight builds are not frequent > > enough for people modifying the SGML files. > > This is news to me... Do you mean you commit stuff and then wait 15 >

Re: [HACKERS] int4eq (xid, int4)

2001-09-30 Thread Hiroshi Inoue
Jean-Michel POURE wrote: > > Hello friends, > > int4eq (xid, int4) seems to be needed for proper support of MS Access2K: > CREATE FUNCTION "int4eq" (xid, int4) > RETURNS bool > AS 'int4eq' > LANGUAGE 'internal' > > Is int4eq function included in PostgreSQL 7.2? I added a '=' operator between xi

[HACKERS] pgstat dumps core if alignof(int64) > alignof(long)

2001-09-30 Thread Tom Lane
I have just found a nasty portability problem in the new statistics stuff. It assumes that it can store int64 values in hashtable entries ... but the dynahash module hands back pointers that are only aligned to sizeof(long). On a machine where int64 has to be 8-byte-aligned, instant coredump. I

Re: [HACKERS] CVS changes

2001-09-30 Thread Vince Vielhaber
On Mon, 1 Oct 2001, Peter Eisentraut wrote: > Bruce Momjian writes: > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > minutes and rebuild if necessary. Overnight builds are not frequent > > enough for people modifying the SGML files. > > This is news to me... Do y

Re: [HACKERS] CVS changes

2001-09-30 Thread Peter Eisentraut
Bruce Momjian writes: > Don't rush. I am setting up my system to check the SGML docs every 15 > minutes and rebuild if necessary. Overnight builds are not frequent > enough for people modifying the SGML files. This is news to me... Do you mean you commit stuff and then wait 15 minutes to see

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Darren Johnson
> > Once we have schemas (7.3, I hope), I think a lot of installations will > have only one production database. However, if we were going to do this > what we'd probably do is allow the DBA to configure the postmaster to > start N pre-forked backends per database, where N can depend on the > d

Re: [HACKERS] Preparation for Beta

2001-09-30 Thread Bruce Momjian
> Bruce Momjian <[EMAIL PROTECTED]> writes: > > OK, I think we are on track for Monday beta. > > One thing that I think absolutely *must* happen before we can go beta > is to fix the documentation build process at hub.org. Until the online > developer docs are up-to-date, how are beta testers go

Re: [HACKERS] CVS changes

2001-09-30 Thread Bruce Momjian
> On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > > > > > > > > just about to be moved to the new server, now that the new 18gi drive has > > > been installed ... plan on getting that done this afternoon ... > > > > Don't rush. I am setting up my system to check the SGML docs every 15 > > min

Re: [HACKERS] CVS changes

2001-09-30 Thread John Summerfield
On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > > > just about to be moved to the new server, now that the new 18gi drive has > > been installed ... plan on getting that done this afternoon ... > > Don't rush. I am setting up my system to check the SGML docs every 15 > minutes and rebuild if

Re: [HACKERS] ftp.postgresql.org points to new server ...

2001-09-30 Thread Bruce Momjian
> > now that the 18gig is in place and I have space once more to work, > ftp.postgresql.org now points at the new server (~ftp for those that > login) ... let me know if there are any problems ... I wonder if we should be allowing people to use non-anonymous ftp. There is no password protection

Re: [HACKERS] Glitch in handling of postmaster -o options

2001-09-30 Thread Tom Lane
Marko Kreen <[EMAIL PROTECTED]> writes: > I am suggesting this. > [ code snipped ] Okay, that would mean that "-o '-S nnn'" still works, but "-o -F" doesn't. But ... the thing is, there is no reason for -o to exist anymore other than backwards compatibility with existing startup scripts. -o doe

[HACKERS] ftp.postgresql.org points to new server ...

2001-09-30 Thread Marc G. Fournier
now that the 18gig is in place and I have space once more to work, ftp.postgresql.org now points at the new server (~ftp for those that login) ... let me know if there are any problems ... ---(end of broadcast)--- TIP 5: Have you checked our ext

Re: [HACKERS] CVS changes

2001-09-30 Thread Marc G. Fournier
done already, ftp should be accessible as it was before ... On Sun, 30 Sep 2001, Bruce Momjian wrote: > > > > > > just about to be moved to the new server, now that the new 18gi drive has > > been installed ... plan on getting that done this afternoon ... > > Don't rush. I am setting up my sys

Re: [HACKERS] CVS changes

2001-09-30 Thread Bruce Momjian
> > > just about to be moved to the new server, now that the new 18gi drive has > been installed ... plan on getting that done this afternoon ... Don't rush. I am setting up my system to check the SGML docs every 15 minutes and rebuild if necessary. Overnight builds are not frequent enough fo

Re: [HACKERS] Glitch in handling of postmaster -o options

2001-09-30 Thread Marko Kreen
On Sun, Sep 30, 2001 at 02:13:34PM -0400, Bruce Momjian wrote: > > Marko Kreen <[EMAIL PROTECTED]> writes: > > >> I wonder whether we should retire -o. > > > > > How about putting -o stuff after -p? That way only postmaster > > > code can set PGC_POSTMASTER options for a backend, no way for > >

Re: [HACKERS] path for contrib/intarray (current CVS)

2001-09-30 Thread Bruce Momjian
Patch applied. Thanks. > Please apply attached patch to current CVS tree. > > Changes: > > 1. gist__int_ops is now without lossy > 2. added sort entry in picksplit > > Regards, > Oleg > _ > Oleg Bartunov, sci.r

Re: [HACKERS] Glitch in handling of postmaster -o options

2001-09-30 Thread Bruce Momjian
> Marko Kreen <[EMAIL PROTECTED]> writes: > >> I wonder whether we should retire -o. > > > How about putting -o stuff after -p? That way only postmaster > > code can set PGC_POSTMASTER options for a backend, no way for > > user to mess up. ATM this would break -o -F tho'. Not sure what you are

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Tom Lane
Bradley McLean <[EMAIL PROTECTED]> writes: > Is it useful if it only works for one database within a server? Once we have schemas (7.3, I hope), I think a lot of installations will have only one production database. However, if we were going to do this what we'd probably do is allow the DBA to c

Re: [HACKERS] CVS changes

2001-09-30 Thread Marc G. Fournier
just about to be moved to the new server, now that the new 18gi drive has been installed ... plan on getting that done this afternoon ... On Sun, 30 Sep 2001, Peter Eisentraut wrote: > I've built the docs on cvs.postgresql.org, but where are the ftp and www > areas these days and how does one

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Ken Hirsch
Doug McNaught wrote: > > You can pass open file descriptors across Unix domain sockets on most > systems, which is a possible way to address the problem, but probably > not worth it for the reasons discussed earlier. I think that it does solve the problem. The only drawback is that it's not port

Re: [HACKERS] PL/pgSQL bug?

2001-09-30 Thread Jan Wieck
Tatsuo Ishii wrote: > In the attached script, second call to test1() causes error: Well known error. PL/pgSQL creates saved execution plans for almost every expression and query using SPI_prepare(), SPI_saveplan(). If any of the objects, referenced from such a plan

Re: [HACKERS] CVS changes

2001-09-30 Thread Peter Eisentraut
I've built the docs on cvs.postgresql.org, but where are the ftp and www areas these days and how does one get stuff onto them? -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---(end of broadcast)--- TIP 6: Have you s

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Bradley McLean
* Gavin Sherry ([EMAIL PROTECTED]) [010930 06:13]: > On Sat, 29 Sep 2001 [EMAIL PROTECTED] wrote: > > > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > > > How hard would it be to pre-fork an extra backend > > > > > > How are you going to pass the connection socket to an already-forked > > > chi

Re: [HACKERS] PL/pgSQL bug?

2001-09-30 Thread Tom Lane
Tatsuo Ishii <[EMAIL PROTECTED]> writes: > Maybe PL/pgSQL cache problem? This is a well-known problem: plpgsql caches a query plan that refers to the first version of the temp table, and it doesn't know it needs to rebuild the plan. AFAIK the only workaround at present is to use EXECUTE for quer

Re: [HACKERS] Glitch in handling of postmaster -o options

2001-09-30 Thread Tom Lane
Marko Kreen <[EMAIL PROTECTED]> writes: >> I wonder whether we should retire -o. > How about putting -o stuff after -p? That way only postmaster > code can set PGC_POSTMASTER options for a backend, no way for > user to mess up. ATM this would break -o -F tho'. Indeed. If we're going to force

Re: [HACKERS] Glitch in handling of postmaster -o options

2001-09-30 Thread Marko Kreen
On Sun, Sep 30, 2001 at 12:54:25AM +0200, Peter Eisentraut wrote: > Tom Lane writes: > > While that's not a fatal problem, I could imagine *much* more serious > > misbehavior from inconsistent settings of some GUC parameters. Since > > backends believe that these parameters have PGC_POSTMASTER pr

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Doug McNaught
Gavin Sherry <[EMAIL PROTECTED]> writes: > This aside, isn't it possible to just copy the socket and some > data about the database required into shared memory and have the preforked > children pick the socket up from there. Ummm No. There's no Unix API for doing so. You can pass open fil

[HACKERS] PL/pgSQL bug?

2001-09-30 Thread Tatsuo Ishii
In the attached script, second call to test1() causes error: select test1(); test1 --- 0 (1 row) select test1(); psql:/home/t-ishii/tmp/aaa.sql:13: NOTICE: Error occurred while executing PL/pgSQL function test1 psql:/home/t-ishii/tmp/aaa.sql:13: NOTICE: line 5 at select into variab

Re: [HACKERS] Pre-forking backend

2001-09-30 Thread Gavin Sherry
On Sat, 29 Sep 2001 [EMAIL PROTECTED] wrote: > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > > How hard would it be to pre-fork an extra backend > > > > How are you going to pass the connection socket to an already-forked > > child process? AFAIK there's no remotely portable way ... > > Umm.