Re: [HACKERS] more on out-of-memory

2009-04-07 Thread Heikki Linnakangas
Alvaro Herrera wrote: His question was: is it possible that we're handing a NULL pointer to a %s on fprintf? The involved code looks like this: fprintf(stderr, %s: %lu total in %ld blocks; %lu free (%ld chunks); %lu used\n,

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Heikki Linnakangas
Peter Eisentraut wrote: In practice you get either the GNU or the Solaris version of gettext, and at least the GNU version can cope with all the encoding names that the currently Windows-only code path produces. It doesn't. On my laptop running Debian testing: hlinn...@heikkilaptop:~$

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Peter Eisentraut
On Tuesday 07 April 2009 11:21:25 Heikki Linnakangas wrote: Peter Eisentraut wrote: In practice you get either the GNU or the Solaris version of gettext, and at least the GNU version can cope with all the encoding names that the currently Windows-only code path produces. It doesn't. On my

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Heikki Linnakangas
Hiroshi Inoue wrote: Heikki Linnakangas wrote: I just tried that, and it seems that gettext() does transliteration, so any characters that have no counterpart in the database encoding will be replaced with something similar, or question marks. Assuming that's universal across platforms, and I

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Hiroshi Inoue
Heikki Linnakangas wrote: Hiroshi Inoue wrote: Heikki Linnakangas wrote: I just tried that, and it seems that gettext() does transliteration, so any characters that have no counterpart in the database encoding will be replaced with something similar, or question marks. Assuming that's

Re: XML only working in UTF-8 - Re: [HACKERS] 8.4 open items list

2009-04-07 Thread Sergey Burladyan
Tom Lane t...@sss.pgh.pa.us writes: As near as I can tell, every place where you see an explicit cast between char * and xmlChar * is probably broken. I think we ought to approach this by refactoring to have all those conversions go through subroutines, instead of blithely casting. There is

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Heikki Linnakangas
Hiroshi Inoue wrote: What is wrong with checking if the codeset is valid using iconv_open()? That would probably work as well. We'd have to decide what we'd try to convert from with iconv_open(). Utf-8 might be a safe choice. We don't currently use iconv_open() anywhere in the backend,

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Heikki Linnakangas
Peter Eisentraut wrote: On Tuesday 07 April 2009 11:21:25 Heikki Linnakangas wrote: Using the name for the latin1 encoding in the currently Windows-only mapping table, LATIN1, you get no translation because that name is not recognized by the system. Using the other name ISO-8859-1, it works.

Re: [HACKERS] Path separator

2009-04-07 Thread Magnus Hagander
Tom Lane wrote: Magnus Hagander mag...@hagander.net writes: Tom Lane wrote: In view of the way that canonicalize_path() works, I can't help thinking this is going in precisely the wrong direction. In a way, yes. But canonicalize_path() runs only in the backend, and this is only in the

Re: [HACKERS] Path separator

2009-04-07 Thread Magnus Hagander
Magnus Hagander wrote: The major stumbling block to doing either thing is not wishing to import path.c into libpq. I think that the objection was partially code size and partially namespace pollution (path.c doesn't use pg_ or similar prefixes on its exported names). The latter is no longer

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Bruce Momjian
Are there any TODOs here? --- Robert Haas wrote: On Fri, Apr 3, 2009 at 5:10 PM, Tom Lane t...@sss.pgh.pa.us wrote: Robert Haas robertmh...@gmail.com writes: On Fri, Apr 3, 2009 at 4:29 PM, Tom Lane t...@sss.pgh.pa.us

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Tom Lane
Heikki Linnakangas heikki.linnakan...@enterprisedb.com writes: Hiroshi Inoue wrote: What is wrong with checking if the codeset is valid using iconv_open()? That would probably work as well. We'd have to decide what we'd try to convert from with iconv_open(). The problem I have with that is

Re: [HACKERS] Path separator

2009-04-07 Thread Magnus Hagander
Magnus Hagander wrote: Magnus Hagander wrote: The major stumbling block to doing either thing is not wishing to import path.c into libpq. I think that the objection was partially code size and partially namespace pollution (path.c doesn't use pg_ or similar prefixes on its exported names).

Re: [HACKERS] Path separator

2009-04-07 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: Tom Lane wrote: The major stumbling block to doing either thing is not wishing to import path.c into libpq. I think that the objection was partially code size and partially namespace pollution (path.c doesn't use pg_ or similar prefixes on its

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Robert Haas
On Tue, Apr 7, 2009 at 9:55 AM, Bruce Momjian br...@momjian.us wrote: Are there any TODOs here? I'd say that all of the items listed in my original email could be TODOs. I'm planning to work on as many of them as I have time for. Ramon Lawrence is also working on some related ideas, as

Re: [HACKERS] Path separator

2009-04-07 Thread Tom Lane
I wrote: Since I'm the one who's hot about this, I'm willing to do the work. Belay that ... I'll review your patch instead, later today sometime. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your

Re: [HACKERS] Bug of ALTER TABLE DROP CONSTRAINT

2009-04-07 Thread Bruce Momjian
Nikhil Sontakke wrote: Hi, We've discussed before the idea that NOT NULL constraints should be explicitly represented in pg_constraint, just like general CHECK constraints (this would allow them to be named, have sane inheritance behavior, etc). If we had that, then

Re: [HACKERS] Bug of ALTER TABLE DROP CONSTRAINT

2009-04-07 Thread Tom Lane
Bruce Momjian br...@momjian.us writes: Nikhil Sontakke wrote: Warrants an entry in the TODO items list: * make NOT NULL constraints have pg_constraint entries, just like CHECK constraints This is now a TODO item (I just updated the description): Store the constraint names of NOT

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-04-07 Thread Steve Crawford
Did I miss the exciting conclusion or did this drift silently off radar? I seem to recall three options: 1. Leave as is. Arguments: least effort, no backward compatibility issues, since array_to_string evaluate both an array with single empty string and an array with no elements to an empty

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-04-07 Thread justin
Steve Crawford wrote: Did I miss the exciting conclusion or did this drift silently off radar? it was pretty well split between the options. tabled for another time. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription:

Re: [HACKERS] [GENERAL] string_to_array with empty input

2009-04-07 Thread David E. Wheeler
On Apr 7, 2009, at 8:07 AM, Steve Crawford wrote: In scenario 2, there were two options: 2a. Return zero-element array. 2b. Return array with single empty-string element. My impression was that among the change options, 2b had the most support (it is the most useful for the use-cases I've

[HACKERS] NaN support in NUMERIC data type

2009-04-07 Thread Sam Mason
Hi, I've just noticed that the NUMERIC input function special cases NaN values differently to the floating point input functions. For example the following are all accepted (on my system anyway): SELECT 'NaN'::float8; SELECT ' NaN'::float8; SELECT 'NaN '::float8; SELECT '+NaN'::float8;

[HACKERS] Solution of the file name problem of copy on windows.

2009-04-07 Thread Hiroshi Saito
Hi Tom-san. I want to solve one problem before the release of 8.4. However, since it also seems to be the new feature, if not enough for 8.4, you may suggest that it is 8.5. In Japan, the local file name of a server is dealt with by SJIS. The example present Postgres... server_encoding = UTF-8

Re: [HACKERS] NaN support in NUMERIC data type

2009-04-07 Thread Tom Lane
Sam Mason s...@samason.me.uk writes: I've just noticed that the NUMERIC input function special cases NaN values differently to the floating point input functions. For example the following are all accepted (on my system anyway): SELECT 'NaN'::float8; SELECT ' NaN'::float8; SELECT

Re: [HACKERS] Solution of the file name problem of copy on windows.

2009-04-07 Thread Tom Lane
Hiroshi Saito z-sa...@guitar.ocn.ne.jp writes: I want to solve one problem before the release of 8.4. However, since it also seems to be the new feature, if not enough for 8.4, you may suggest that it is 8.5. I'm not too clear on what this is really supposed to accomplish, but we are hardly

Re: [HACKERS] Array types

2009-04-07 Thread John Lister
This is something the client code would request (or not). It would not be sensible to try to force it from the server side, since if the client doesn't request it it's likely that the client wouldn't understand the data format. Cheers for the quick reply, any chance of a pointer to the

Re: [HACKERS] Array types

2009-04-07 Thread John Lister
Does libpqtypes pass the array over the wire as an array? Ideally i'd like to do this with jdbc, but might give me a pointer... Thanks - Original Message - From: Andrew Chernow a...@esilo.com To: John Lister john.lister...@kickstone.com Cc: pgsql-hackers@postgresql.org Sent: Tuesday,

Re: [HACKERS] Update PL interpreters for 8.4

2009-04-07 Thread Magnus Hagander
Dave Page wrote: The MSVC++ build system is a little lacking in it's ability to build against different versions of Perl and TCL. The attached patch doesn't fix that (unfortunately), but does update the hard-coded library names so we can use Perl 5.10 and TCL 8.5 with PG 8.4. Applied, thanks.

Re: [HACKERS] Array types

2009-04-07 Thread Merlin Moncure
On Tue, Apr 7, 2009 at 3:35 PM, John Lister john.lister...@kickstone.com wrote: Does libpqtypes pass the array over the wire as an array? Ideally i'd like to do this with jdbc, but might give me a pointer... We send/receive the server's array format. This is not quite a C array, and is

Re: [HACKERS] Sort a column that does not exist

2009-04-07 Thread Werner Echezuria
Hi, I think I solved the problem in the parser and the planner, but I'm stuck in the executor, I think is in the ExecSort function on nodeSort around this code: /* * Scan the subplan and feed all the tuples to tuplesort. */ for (;;) { slot =

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Heikki Linnakangas
Peter Eisentraut wrote: On Tuesday 07 April 2009 13:09:42 Heikki Linnakangas wrote: Patch attached. Instead of checking for LC_CTYPE == C, I'm checking pg_get_encoding_from_locale(NULL) == encoding which is more close to what we actually want. The downside is that

Re: [HACKERS] Array types

2009-04-07 Thread Andrew Chernow
John Lister wrote: Cheers, nice to know it is possible... Now to see if i can get java/python to do the same :) or to use a modified libpq somehow... If performance is your concern, you would probably get the best results using the languages C glue interfrace. For instance, in java I

[HACKERS] Array types

2009-04-07 Thread John Lister
Hi, using v8.3.5 and a number of client libraries (java, python, pgadmin) and playing about with arrays. They all return arrays as text, is it possible to configure postgresql to return an array in native form (does postgresql support such a thing)? This is using both the simple and extended

Re: [HACKERS] Array types

2009-04-07 Thread Merlin Moncure
On Tue, Apr 7, 2009 at 3:11 PM, Tom Lane t...@sss.pgh.pa.us wrote: John Lister john.lister...@kickstone.com writes: Hi, using v8.3.5 and a number of client libraries (java, python, pgadmin) and playing about with arrays. They all return arrays as text, is it possible to configure postgresql

Re: [HACKERS] Array types

2009-04-07 Thread Tom Lane
John Lister john.lister...@kickstone.com writes: Hi, using v8.3.5 and a number of client libraries (java, python, pgadmin) and playing about with arrays. They all return arrays as text, is it possible to configure postgresql to return an array in native form (does postgresql support such a

Re: [HACKERS] Closing some 8.4 open items

2009-04-07 Thread Bruce Momjian
Tom Lane wrote: Greg Stark st...@enterprisedb.com writes: On Sun, Apr 5, 2009 at 6:54 PM, Robert Haas robertmh...@gmail.com wrote: I'm excited about some of them, but not to the point of not wanting to ship beta. ?So +1 for removing them as per your suggestions. I'm somewhat excited

Re: [HACKERS] custom tsearch2 parsers

2009-04-07 Thread Kevin Grittner
Kevin Grittner kevin.gritt...@wicourts.gov wrote: It appears that I need to put together a custom parser for tsearch2. Reality check: I need to find start and end locations for all matches of a regular expression in a text object, very similar to what is done by setup_regexp_matches in

Re: [HACKERS] Array types

2009-04-07 Thread John Lister
Cheers, nice to know it is possible... Now to see if i can get java/python to do the same :) or to use a modified libpq somehow... Merlin Moncure wrote: On Tue, Apr 7, 2009 at 3:35 PM, John Lister john.lister...@kickstone.com wrote: Does libpqtypes pass the array over the wire as an

[HACKERS] Backup -- Feridun Türk

2009-04-07 Thread feridun türk
İ have two question, Backup and restore with C# (windos form) interface, or postgre scripts? -- Regards, Feridun Türk

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Bruce Momjian
Robert Haas wrote: On Tue, Apr 7, 2009 at 9:55 AM, Bruce Momjian br...@momjian.us wrote: Are there any TODOs here? I'd say that all of the items listed in my original email could be TODOs. I'm planning to work on as many of them as I have time for. Ramon Lawrence is also working on some

Re: [HACKERS] Bug of ALTER TABLE DROP CONSTRAINT

2009-04-07 Thread Bruce Momjian
Tom Lane wrote: Bruce Momjian br...@momjian.us writes: Nikhil Sontakke wrote: Warrants an entry in the TODO items list: * make NOT NULL constraints have pg_constraint entries, just like CHECK constraints This is now a TODO item (I just updated the description): Store the

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Peter Eisentraut
On Tuesday 07 April 2009 13:09:42 Heikki Linnakangas wrote: Patch attached. Instead of checking for LC_CTYPE == C, I'm checking pg_get_encoding_from_locale(NULL) == encoding which is more close to what we actually want. The downside is that pg_get_encoding_from_locale(NULL) isn't exactly free,

Re: [HACKERS] Path separator

2009-04-07 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: Answering myself here: the filesize for the frontend only part is about 2k on this system. Long meeting, time for coding.. :-) Here's a rough patch. Is this about what you had in mind? Hm, this seems to make the namespace pollution problem worse

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Robert Haas
On Tue, Apr 7, 2009 at 5:11 PM, Bruce Momjian br...@momjian.us wrote: Robert Haas wrote: On Tue, Apr 7, 2009 at 9:55 AM, Bruce Momjian br...@momjian.us wrote: Are there any TODOs here? I'd say that all of the items listed in my original email could be TODOs.  I'm planning to work on as many

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Bruce Momjian
Robert Haas wrote: On Tue, Apr 7, 2009 at 5:11 PM, Bruce Momjian br...@momjian.us wrote: Robert Haas wrote: On Tue, Apr 7, 2009 at 9:55 AM, Bruce Momjian br...@momjian.us wrote: Are there any TODOs here? I'd say that all of the items listed in my original email could be TODOs. ?I'm

Re: [HACKERS] New trigger option of pg_standby

2009-04-07 Thread Guillaume Smet
On Fri, Apr 3, 2009 at 5:42 AM, Fujii Masao masao.fu...@gmail.com wrote: Here is the patch; - Smart failover is chosen if the trigger file labeled smart or an empty one exists. - Fast failover is chosen if the trigger file labeled fast exists, the signal (SIGUSR1 or SIGINT) is received or

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread David Fetter
On Mon, Apr 06, 2009 at 08:48:55PM -0400, Tom Lane wrote: Andrew Gierth and...@tao11.riddles.org.uk writes: At the VERY LEAST, can we PLEASE have the zone.tab file INSTALLED WHERE IT BELONGS rather than simply ignored, so that even if further requests to include the information in a system

Re: [HACKERS] Array types

2009-04-07 Thread Andrew Chernow
John Lister wrote: They all return arrays as text, is it possible to configure postgresql to return an array in native form (does postgresql support such a thing)? This is using both the simple and extended query forms - i couldn't see a way to say what return type i wanted in the protocol

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread Alvaro Herrera
David Fetter wrote: On Mon, Apr 06, 2009 at 08:48:55PM -0400, Tom Lane wrote: Andrew Gierth and...@tao11.riddles.org.uk writes: At the VERY LEAST, can we PLEASE have the zone.tab file INSTALLED WHERE IT BELONGS rather than simply ignored, so that even if further requests to include the

[HACKERS] Compiler warning with 'fast' variable

2009-04-07 Thread Bruce Momjian
Any idea why I am seeing this warning with the new pg_start_backup() 'fast' flag? xlog.c:6917: warning: variable `fast' might be clobbered by `longjmp' or `vfork' The line is in a PG_ENSURE_ERROR_CLEANUP() block. This is with gcc version 2.95.3. -- Bruce Momjian

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread Tom Lane
David Fetter da...@fetter.org writes: On Mon, Apr 06, 2009 at 08:48:55PM -0400, Tom Lane wrote: I still see no point in this unless we expose the information in pg_timezone_names, which requires rather more than a one-line patch. There's really no point, and a lot of good stuff lost, Like

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread David E. Wheeler
On Apr 7, 2009, at 3:26 PM, Alvaro Herrera wrote: Agreed, it seems to me that a patch to install zone.tab during make install could be applied at this time (before beta so that packagers don't complain that we didn't give them time to fix their file lists). A more complete patch can be

Re: [HACKERS] Compiler warning with 'fast' variable

2009-04-07 Thread Tom Lane
Bruce Momjian br...@momjian.us writes: Any idea why I am seeing this warning with the new pg_start_backup() 'fast' flag? xlog.c:6917: warning: variable `fast' might be clobbered by `longjmp' or `vfork' The line is in a PG_ENSURE_ERROR_CLEANUP() block. This is with gcc version

Re: [HACKERS] Array types

2009-04-07 Thread James Pye
On Apr 7, 2009, at 12:54 PM, John Lister wrote: Cheers, nice to know it is possible... Now to see if i can get java/ python to do the same :) or to use a modified libpq somehow... http://python.projects.postgresql.org will do it for Python. =D tho, only supports Python 3, which is still

Re: [HACKERS] Compiler warning with 'fast' variable

2009-04-07 Thread Bruce Momjian
Tom Lane wrote: Bruce Momjian br...@momjian.us writes: Any idea why I am seeing this warning with the new pg_start_backup() 'fast' flag? xlog.c:6917: warning: variable `fast' might be clobbered by `longjmp' or `vfork' The line is in a PG_ENSURE_ERROR_CLEANUP() block. This

Re: [HACKERS] Compiler warning with 'fast' variable

2009-04-07 Thread Tom Lane
Bruce Momjian br...@momjian.us writes: Tom Lane wrote: We could stick a volatile on it but I'd like to find out why this particular variable seems to need that. You ready for this; changing 'bool' to 'int' supressed the warning: int fast = PG_GETARG_BOOL(1); Well, that's a

Re: [HACKERS] Compiler warning with 'fast' variable

2009-04-07 Thread Bruce Momjian
Tom Lane wrote: Bruce Momjian br...@momjian.us writes: Tom Lane wrote: We could stick a volatile on it but I'd like to find out why this particular variable seems to need that. You ready for this; changing 'bool' to 'int' supressed the warning: int fast = PG_GETARG_BOOL(1);

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread Alvaro Herrera
David E. Wheeler wrote: On Apr 7, 2009, at 3:26 PM, Alvaro Herrera wrote: Agreed, it seems to me that a patch to install zone.tab during make install could be applied at this time (before beta so that packagers don't complain that we didn't give them time to fix their file lists). A more

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread Andrew Gierth
Alvaro == Alvaro Herrera alvhe...@commandprompt.com writes: Andrew did, in fact, submit the patch to install zone.tab. Alvaro Hmm, yeah, that he did. (Seems to be missing make Alvaro uninstall support though.) The rm -rf in the uninstall rule seems to be sufficient for that. (What _is_

Re: [HACKERS] A renewed plea for inclusion of zone.tab

2009-04-07 Thread Andrew Gierth
Tom == Tom Lane t...@sss.pgh.pa.us writes: David Fetter da...@fetter.org writes: On Mon, Apr 06, 2009 at 08:48:55PM -0400, Tom Lane wrote: I still see no point in this unless we expose the information in pg_timezone_names, which requires rather more than a one-line patch. There's

Re: [HACKERS] More message encoding woes

2009-04-07 Thread Hiroshi Inoue
Tom Lane wrote: Heikki Linnakangas heikki.linnakan...@enterprisedb.com writes: Hiroshi Inoue wrote: What is wrong with checking if the codeset is valid using iconv_open()? That would probably work as well. We'd have to decide what we'd try to convert from with iconv_open(). The problem

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Chris Dunlop
On 2009-04-03, Simon Riggs si...@2ndquadrant.com wrote: On Fri, 2009-04-03 at 18:03 +0100, Greg Stark wrote: I wonder if we need a whole class of index algorithms to deal specifically with read-only tables I think we can drop the word index from the sentence as well. Read-only isn't an

[HACKERS] another tiny fix (tab-completion) for \ef in psql

2009-04-07 Thread Andrew Gierth
While answering a question about something else, I spotted another omission regarding \ef - no tab-completion for it. This is the trivial patch, not sure if there's any benefit in trying to be more specific. -- Andrew (irc:RhodiumToad) Index: src/bin/psql/tab-complete.c

Re: [HACKERS] another tiny fix (tab-completion) for \ef in psql

2009-04-07 Thread Andrew Gierth
Andrew == Andrew Gierth and...@tao11.riddles.org.uk writes: Andrew While answering a question about something else, I spotted Andrew another omission regarding \ef - no tab-completion for it. Andrew This is the trivial patch, not sure if there's any benefit in Andrew trying to be more

Re: [HACKERS] Auto-delete large objects when referencing row is deleted

2009-04-07 Thread higepon
Hi I assume you mean $subject and not what you wrote here. Yes. Sorry it's my mistake. I examined contrib/lo which offers this functionality. Yes. I wonder why the TODO item is there at all, when contrib/lo already solves it in a perfectly reasonable way. As a user of database, I think

Re: [HACKERS] Solution of the file name problem of copy on windows.

2009-04-07 Thread Itagaki Takahiro
Hi, Hiroshi Saito z-sa...@guitar.ocn.ne.jp wrote: At this time, a copy file name is UTF-8. It was troubled by handling.:-( Then, I make this proposal patch. I think the problem is not only in Windows but also in all platforms where the database encoding doesn't match their OS's encoding.

Re: [HACKERS] Closing some 8.4 open items

2009-04-07 Thread David Fetter
On Mon, Apr 06, 2009 at 10:51:22PM -0700, David Fetter wrote: On Sun, Apr 05, 2009 at 05:57:46PM -0700, David Fetter wrote: On Sun, Apr 05, 2009 at 08:55:07PM -0400, Tom Lane wrote: David Fetter da...@fetter.org writes: On Sun, Apr 05, 2009 at 02:07:32PM -0400, Tom Lane wrote: The

Re: [HACKERS] Closing some 8.4 open items

2009-04-07 Thread Josh Berkus
Tom, finishing posix_fadvise patch Push to TODO So has fadvise been completely dropped from 8.4, or only partially? change psql's \df output for window functions? Drop; there's no consensus that this should be changed Also, Fetter is currently working on a \dw for 8.5.

Re: [HACKERS] a few crazy ideas about hash joins

2009-04-07 Thread Robert Haas
On Tue, Apr 7, 2009 at 5:57 PM, Bruce Momjian br...@momjian.us wrote: I think perhaps Optimizer / Executor would be more appropriate, since these are not about hash indices but rather about hash joins.  I will look at doing that. Yes, please. Done. See what you think... Also I think the

Re: [HACKERS] Closing some 8.4 open items

2009-04-07 Thread Robert Haas
On Tue, Apr 7, 2009 at 10:42 PM, Josh Berkus j...@agliodbs.com wrote: Tom, finishing posix_fadvise patch        Push to TODO So has fadvise been completely dropped from 8.4, or only partially? Bitmap scans will support it, but index scans will not. ...Robert -- Sent via pgsql-hackers

Re: [HACKERS] Array types

2009-04-07 Thread Merlin Moncure
On Tue, Apr 7, 2009 at 6:42 PM, James Pye li...@jwp.name wrote: On Apr 7, 2009, at 12:54 PM, John Lister wrote: Cheers, nice to know it is possible... Now to see if i can get java/python to do the same :) or to use a modified libpq somehow... http://python.projects.postgresql.org will do it

Re: [HACKERS] another tiny fix (tab-completion) for \ef in psql

2009-04-07 Thread Bruce Momjian
Andrew Gierth wrote: Andrew == Andrew Gierth and...@tao11.riddles.org.uk writes: Andrew While answering a question about something else, I spotted Andrew another omission regarding \ef - no tab-completion for it. Andrew This is the trivial patch, not sure if there's any benefit in

Re: [HACKERS] Auto-delete large objects when referencing row is deleted

2009-04-07 Thread Itagaki Takahiro
higepon hige...@gmail.com wrote: As a user of database, I think contrib/lo is not the best way. Because it's not a part of core PostgreSQL, users may forget to use them. Or it is a little messy to use. So I think we need to implement *Auto* delete functionality in PostgreSQL core. (It

Re: [HACKERS] Closing some 8.4 open items

2009-04-07 Thread Tom Lane
Robert Haas robertmh...@gmail.com writes: On Tue, Apr 7, 2009 at 10:42 PM, Josh Berkus j...@agliodbs.com wrote: So has fadvise been completely dropped from 8.4, or only partially? Bitmap scans will support it, but index scans will not. And please note that we think bitmap scans are the larger

Re: [HACKERS] Closing some 8.4 open items

2009-04-07 Thread David Fetter
On Tue, Apr 07, 2009 at 07:42:51PM -0700, Josh Berkus wrote: Tom, finishing posix_fadvise patch Push to TODO So has fadvise been completely dropped from 8.4, or only partially? change psql's \df output for window functions? Drop; there's no consensus that this should be