Re: [HACKERS] Port Report: UnixWare

2003-11-02 Thread Larry Rosenman
--On Monday, November 03, 2003 00:36:41 -0600 Larry Rosenman <[EMAIL PROTECTED]> wrote: We pass all tests except for the Join test now. the join test seems to just be row-ordering from qsort(): test union... ok test case ... ok test join ... FAIL

[HACKERS] Port Report: UnixWare

2003-11-02 Thread Larry Rosenman
We pass all tests except for the Join test now. the join test seems to just be row-ordering from qsort(): test union... ok test case ... ok test join ... FAILED test aggregates ... ok === 1 of 93 tests failed.

Re: [HACKERS] adding support for posix_fadvise()

2003-11-02 Thread Neil Conway
On Mon, 2003-11-03 at 01:07, Neil Conway wrote: > (1) As Manfred originally noted, when we advance to a new XLOG segment, > we can use POSIX_FADV_DONTNEED to let the kernel know we won't be > accessing the old WAL segment anymore. I've attached a quick kludge of a > patch that implements this. I ha

Re: [HACKERS] 7.4RC1 tag'd, branched and bundled ...

2003-11-02 Thread Larry Rosenman
--On Monday, November 03, 2003 01:38:54 -0400 "Marc G. Fournier" <[EMAIL PROTECTED]> wrote: As Tom announced on Friday, Release Candidate 1 has now been tag'd and bundled ... please test to confirm that nothing seems off with this build ... I'm going to do a broader announce on it tonight, to t

[HACKERS] adding support for posix_fadvise()

2003-11-02 Thread Neil Conway
A couple days ago, Manfred Spraul mentioned the posix_fadvise() API on -hackers: http://www.opengroup.org/onlinepubs/007904975/functions/posix_fadvise.html I'm working on making use of posix_fadvise() where appropriate. I can think of the following places where this would be useful: (1) As Manfr

[HACKERS] 7.4RC1 tag'd, branched and bundled ...

2003-11-02 Thread Marc G. Fournier
As Tom announced on Friday, Release Candidate 1 has now been tag'd and bundled ... please test to confirm that nothing seems off with this build ... I'm going to do a broader announce on it tonight, to the -announce and -general lists ... Also, I've created a branch (REL7_4_STABLE) so that work

Re: [HACKERS] pgsql crosstab function

2003-11-02 Thread Joe Conway
Fabrizio Mazzoni wrote: Hello all .. i just wrote this script in plpgsql. Basically it performs a crosstab query. The difference between this and the one you already have in contrib is that this one has no limitations on the arguments passed to it. I don't understand what you think is different. Yo

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Gaetano Mendola
Tom Lane wrote: Attached is an extremely crude prototype patch for making VACUUM delay by a configurable amount between pages, in hopes of throttling its disk bandwidth consumption. By default, there is no delay (so no change in behavior). In some quick testing, setting vacuum_page_delay to 10 (m

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Christopher Browne
Centuries ago, Nostradamus foresaw when "Stephen" <[EMAIL PROTECTED]> would write: > As it turns out. With vacuum_page_delay = 0, VACUUM took 1m20s (80s) > to complete, with vacuum_page_delay = 1 and vacuum_page_delay = 10, > both VACUUMs completed in 18m3s (1080 sec). A factor of 13 times! > This

Re: [HACKERS] PlayStation 2 problems

2003-11-02 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > I've tried PG 7.4 on a PlayStation 2/Linux. This is a kind of mips > machine but apparently doesn't like the existing mips assembly code > (illegal instruction errors). Yes, that was known already --- apparently it uses a variant MIPS chip with no sp

[HACKERS] pgsql crosstab function

2003-11-02 Thread Fabrizio Mazzoni
Hello all .. i just wrote this script in plpgsql. Basically it performs a crosstab query. The difference between this and the one you already have in contrib is that this one has no limitations on the arguments passed to it. The headers of the resulting query are passed as a csv string so it can

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Hannu Krosing
Tom Lane kirjutas P, 02.11.2003 kell 20:00: > Jan Wieck <[EMAIL PROTECTED]> writes: > > I am currently looking at implementing ARC as a replacement strategy. I > > don't have anything that works yet, so I can't really tell what the > > result would be and it might turn out that we want both featu

Re: Avoiding SIGPIPE (was Re: [HACKERS] OSDL DBT-2 w/ PostgreSQL

2003-11-02 Thread Tom Lane
Manfred Spraul <[EMAIL PROTECTED]> writes: > If I understand libpq sources correctly, the first packets are send > during connection setup - PQsigpipeOK(PGconn *) would be too late. > That's why I added "sigpipe=caller" as a new flag for PQconnectdb. That's definitely a problem, but "sigpipe=call

[HACKERS] pgsql crosstab function

2003-11-02 Thread Fabrizio Mazzoni
Hello all .. i just wrote this script in plpgsql. Basically it performs a crosstab query. The difference between this and the one you already have in contrib is that this one has no limitations on the arguments passed to it. The headers of the resulting query are passed as a csv string so it can

[HACKERS] PlayStation 2 problems

2003-11-02 Thread Peter Eisentraut
I've tried PG 7.4 on a PlayStation 2/Linux. This is a kind of mips machine but apparently doesn't like the existing mips assembly code (illegal instruction errors). I've also tried --disable-spinlocks to turn off the use of the assembly code, without success. The old report from 7.3 has the comm

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Andrew Dunstan
Not surprising, I should have thought. Why would you care that much? The idea as I understand it is to improve the responsiveness of things happening alongside vacuum ("real work"). I normally run vacuum when I don't expect anything else much to be happening - but I don't care how long it take

Re: Avoiding SIGPIPE (was Re: [HACKERS] OSDL DBT-2 w/ PostgreSQL

2003-11-02 Thread Manfred Spraul
AgentM wrote: That wouldn't offer a solution for people who use SIGPIPE for other things during the lifetime of the program (after creating the connection) and if a SIGPIPE handler is called due to the connection, the handler won't be expecting the source, and polling signal for state is essen

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Stephen
As it turns out. With vacuum_page_delay = 0, VACUUM took 1m20s (80s) to complete, with vacuum_page_delay = 1 and vacuum_page_delay = 10, both VACUUMs completed in 18m3s (1080 sec). A factor of 13 times! This is for a single 350 MB table. Apparently, it looks like the upcoming Linux kernel 2.6 will

Re: [HACKERS] Proposal: psql force prompting on notty

2003-11-02 Thread Michael Mauger
--- Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Michael Mauger writes: > > > I'm the maintainer of sql.el in GNU Emacs. On both the Mac OS X > > and the Windows/Cygwin platform we've had reports that psql run > > under Emacs does not issue a prompt for commands. > > Why can't you make the Emac

Re: [HACKERS] Proposal: psql force prompting on notty

2003-11-02 Thread Michael Mauger
--- Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Michael Mauger writes: > > > Emacs is not a Cygwin (Un*x emulation on Windows) executable (like > > psql is) > > Why don't you use the native Windows version of psql? > The Cygwin setup program makes pre-built binaries of postgres readily availa

[HACKERS] suggestion for error statements

2003-11-02 Thread Jon Pastore
This is my first time posting and I' hope I'm posting in the correct place. I hope this is not an old topic I'm bringing to light... It would be nice if when getting an error like: ERROR: Bad boolean external representation '' (or the like)...it would give a column name where that error was

Re: Avoiding SIGPIPE (was Re: [HACKERS] OSDL DBT-2 w/ PostgreSQL

2003-11-02 Thread AgentM
On Sunday, Nov 2, 2003, at 18:16 Europe/Berlin, Tom Lane wrote: Manfred Spraul <[EMAIL PROTECTED]> writes: Tom Lane wrote: I don't see that this proposal adds any security. It's not about security: The proposal would be more salable if it addressed the security problem too. As is, you are proposi

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Tom Lane
Jan Wieck <[EMAIL PROTECTED]> writes: > I am currently looking at implementing ARC as a replacement strategy. I > don't have anything that works yet, so I can't really tell what the > result would be and it might turn out that we want both features. It's likely that we would. As someone (you?)

Re: Avoiding SIGPIPE (was Re: [HACKERS] OSDL DBT-2 w/ PostgreSQL

2003-11-02 Thread Tom Lane
Manfred Spraul <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> I don't see that this proposal adds any security. >> > It's not about security: The proposal would be more salable if it addressed the security problem too. As is, you are proposing putting a large wart on libpq's API in order to wo

Re: [HACKERS] TODO item psql schema completion already implemented

2003-11-02 Thread Peter Eisentraut
Markus Bertheau writes: > It seems to me that the TODO item under Clients > > * -Allow psql to do table completion for SELECT * FROM schema_part and > table completion for SELECT * FROM schema_name. > > Is already implemented. That's why there is a dash in front of it. -- Peter Eisentraut [

[HACKERS] TODO item psql schema completion already implemented

2003-11-02 Thread Markus Bertheau
Hi, It seems to me that the TODO item under Clients * -Allow psql to do table completion for SELECT * FROM schema_part and table completion for SELECT * FROM schema_name. Is already implemented. If not what does it mean? select * from sche completes the schema, and select * from schema_a.ta

Re: [HACKERS] OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5

2003-11-02 Thread Rod Taylor
On Sat, 2003-11-01 at 20:58, Mark Wong wrote: > I don't remember making a conscious decision between the number and integer > database type. Is that a significant oversight on my part? Numerics do exact math with support for arbitrary numbers. Unlike Oracle, PostgreSQL does not retype NUMBER to

Re: [HACKERS] OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5

2003-11-02 Thread Manfred Spraul
Mark Wong wrote: On Sat, Nov 01, 2003 at 10:29:34PM +0100, Manfred Spraul wrote: Mark Wong wrote: Yeah, my dbt2 applications are multithreaded. Do you need SIGPIPE delivery in your app? If no, could you try what happens if you apply the attached patch to postgres, and perform the

Re: [HACKERS] SQL supported features list

2003-11-02 Thread Peter Eisentraut
Christopher Kings-Lynne writes: > Have we implemented a bunch of those Array features now? No, see http://archives.postgresql.org/pgsql-hackers/2003-06/msg01167.php -- Peter Eisentraut [EMAIL PROTECTED] ---(end of broadcast)--- TIP 8: explain

[HACKERS] SQL supported features list

2003-11-02 Thread Christopher Kings-Lynne
Has anyone looked at this yet? http://developer.postgresql.org/docs/postgres/unsupported-features-sql99.html Have we implemented a bunch of those Array features now? Chris ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choo