Re: [PATCHES] Tiny plpython fix

2006-09-16 Thread Magnus Hagander
> > Seems __vc_errcode was used during Visual C++ beta at some > point, and > > is now declared deprecated in the system headers. This > patch renames > > our use of it to __msvc_errcode, so we don't conflict anymore. > > If we need this change in plpython, why not also > src/include/port/win

Re: [PATCHES] Tiny plpython fix

2006-09-16 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: >> If we need this change in plpython, why not also >> src/include/port/win32.h? > That's a very good question. It is because something that's pulled in > from the python headers causes the deprecation to show. Whereas when we > compile other things,

Re: [PATCHES] patch for contrib/xml2

2006-09-16 Thread Tom Lane
"Nikolay Samokhvalov" <[EMAIL PROTECTED]> writes: > 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 cautio

Re: [PATCHES] [HACKERS] Timezone List

2006-09-16 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: >>> Assuming we can sneak this in even though it's feature-freeze, >>> want me to look for it? >> Yeah, please take a look --- seeing the size of the code will >> probably help us decide if it's too late for 8.2 or not. > Here goes. Tested only on win

Re: [HACKERS] [PATCHES] plpgsql, return can contains any

2006-09-16 Thread Bruce Momjian
This has been saved for the 8.3 release: http://momjian.postgresql.org/cgi-bin/pgpatches_hold --- Pavel Stehule wrote: > > > > > >"Pavel Stehule" <[EMAIL PROTECTED]> writes: > > >> This patch doesn't seem to cope

[PATCHES] tiny patch to make vacuumdb -a's database order match pg_dumpall

2006-09-16 Thread Dan Thomas
Hiya, I've been having trouble running vacuumdb -a and pg_dumpall concurrently because they run through the databases in a different order (so dumpall was getting stuck behind vacuum's lock, and my firewall was rather unhelpfully closing the idle connection). I can't see a good reason for them to