Re: [PATCHES] XML syntax patch

2006-09-05 Thread Nikolay Samokhvalov
Two minor notes: - this is "SQL/XML publishing functions" patch actually - Initial author of the patch is Pavel Stehule, David added some documentation (AFAIK) On 9/5/06, Bruce Momjian <[EMAIL PROTECTED]> wrote: I have received an update XML syntax patch from Nikolay (summer of code) based on Da

[PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE

2006-09-05 Thread Marko Kreen
I recently changed locale in my machine and PostgreSQL build broke. The reason is that Gen_fmgrtab.sh uses [^A-Z] expression to sed and the GNU people in their infinite wisdom made that locale-dependant. As the script uses the complicated pipeline only for fmgroids.h -> FMGROIDS_H conversion, it

Re: [PATCHES] Fix PGPORT reassignment in ecpg regression tests

2006-09-05 Thread Michael Meskes
On Mon, Sep 04, 2006 at 11:54:42PM +0900, Michael Glaesemann wrote: > The pg_regress.sh script for ecpg regression tests checks to make > sure the port number is between 1024 and 65535. If it isn't, it uses > 65432. (c310-315. This is the same behavior as the standard > ... Applied. Michael

Re: [HACKERS] [PATCHES] extension for sql update

2006-09-05 Thread Susanne Ebrecht
Bruce Momjian wrote: Susanne Ebrecht wrote: Is it too hard to rip it back out once the full row support arrives? That seems speculation at best anyway. That's what I was thinking. Glad someone else replied. ;-) If you're looking for

Re: [PATCHES] Fix PGPORT reassignment in ecpg regression tests

2006-09-05 Thread Michael Glaesemann
On Sep 5, 2006, at 19:16 , Michael Meskes wrote: On Mon, Sep 04, 2006 at 11:54:42PM +0900, Michael Glaesemann wrote: The pg_regress.sh script for ecpg regression tests checks to make sure the port number is between 1024 and 65535. If it isn't, it uses 65432. (c310-315. This is the same behavio

Re: [PATCHES] [HACKERS] Interval aggregate regression failure

2006-09-05 Thread Michael Glaesemann
On Sep 5, 2006, at 10:14 , Bruce Momjian wrote: Bruce Momjian wrote: OK, updated patch. It will fix the >=24:00:00 case because it cascades up if the remainder number of seconds is greater or equal to one day. One open item is that it still might show >24 hours if the seconds computation co

Re: [PATCHES] XML syntax patch

2006-09-05 Thread David Fetter
On Mon, Sep 04, 2006 at 09:21:12PM -0400, Bruce Momjian wrote: > I have received an update XML syntax patch from Nikolay (summer of > code) based on David Fetter's patch from 2005. > > Comments? It would be nice to have for 8.2. It was Pavel Stehule's patch. I just added a little bit of documen

Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE

2006-09-05 Thread Tom Lane
"Marko Kreen" <[EMAIL PROTECTED]> writes: > I grepped around source and did not find other instances of this. > The A-Z experssion was only in perl scripts or in configure and > configure should be fine as it explicitly resets locale. Why not do the same in Gen_fmgrtab.sh? A quick LANG=C seems le

Re: [PATCHES] XML syntax patch

2006-09-05 Thread Bruce Momjian
David Fetter wrote: > On Mon, Sep 04, 2006 at 09:21:12PM -0400, Bruce Momjian wrote: > > I have received an update XML syntax patch from Nikolay (summer of > > code) based on David Fetter's patch from 2005. > > > > Comments? It would be nice to have for 8.2. > > It was Pavel Stehule's patch. I

Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE

2006-09-05 Thread Peter Eisentraut
Tom Lane wrote: > "Marko Kreen" <[EMAIL PROTECTED]> writes: > > I grepped around source and did not find other instances of this. > > The A-Z experssion was only in perl scripts or in configure and > > configure should be fine as it explicitly resets locale. > > Why not do the same in Gen_fmgrtab.s

Re: [HACKERS] [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE

2006-09-05 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Well, the line of code is > cpp_define=`echo $OIDSFILE | tr abcdefghijklmnopqrstuvwxyz > ABCDEFGHIJKLMNOPQRSTUVWXYZ | sed -e 's/[^A-Z]/_/g'` > so it ought to be pretty obvious what the correct solution for the > problem "character ranges are locale-de

Re: [HACKERS] [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE

2006-09-05 Thread Marko Kreen
On 9/5/06, Tom Lane <[EMAIL PROTECTED]> wrote: Peter Eisentraut <[EMAIL PROTECTED]> writes: > Well, the line of code is > cpp_define=`echo $OIDSFILE | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | sed -e 's/[^A-Z]/_/g'` > so it ought to be pretty obvious what the correct solution fo

[PATCHES] patch for contrib/xml2

2006-09-05 Thread Nikolay Samokhvalov
Hello, Here is the patch for contrib/xml2 (attached), that: - renames xml_valid() to xml_is_well_formed() - adds PG_MODULE_MAGIC; at the beginning of xpath.c - introduces xpath_array() function - adds some words about that function and caution about libraries to README I understand that it's too

Re: [PATCHES] BUG #2600: dblink compile with SSL missing libraries

2006-09-05 Thread Chris Browne
[EMAIL PROTECTED] (Peter Eisentraut) writes: > Am Mittwoch, 30. August 2006 22:57 schrieb Chris Browne: >> I also seem to recall, in past discussions about "library matters," >> that AIX is more sticky about requiring that libraries be named >> expressly. > > ecpglib has > > SHLIB_LINK = -L../pgtyp

Re: [PATCHES] Concurrent connections in psql patch

2006-09-05 Thread David Fetter
On Sun, Sep 03, 2006 at 05:09:44PM -0400, Gregory Stark wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > > Is this something people are interested in? I am thinking no > > based on the lack of requests and the size of the patch. > > Lack of requests? I was actually surprised by how enthusi

Re: [PATCHES] Backend SSL configuration enhancement

2006-09-05 Thread Bruce Momjian
Victor Wagner wrote: > On 2006.09.04 at 15:46:03 -0400, Bruce Momjian wrote: > > > Tom Lane wrote: > > > Bruce Momjian <[EMAIL PROTECTED]> writes: > > > > This has been saved for the 8.3 release: > > > > http://momjian.postgresql.org/cgi-bin/pgpatches_hold > > > > > > This version was wit

Re: [PATCHES] [HACKERS] large object regression tests

2006-09-05 Thread Jeremy Drake
I put together a patch which adds a regression test for large objects, hopefully attached to this message. I would like some critique of it, to see if I have gone about it the right way. Also I would be happy to hear any additional tests which should be added to it. On Tue, 5 Sep 2006, Jeremy Dr

Re: [PATCHES] [HACKERS] Interval aggregate regression failure

2006-09-05 Thread Bruce Momjian
Patch applied. Thanks. --- Michael Glaesemann wrote: > > On Sep 5, 2006, at 10:14 , Bruce Momjian wrote: > > > Bruce Momjian wrote: > >> OK, updated patch. It will fix the >=24:00:00 case because it > >> cascades > >>