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

2006-09-15 Thread Pavel Stehule
"Pavel Stehule" <[EMAIL PROTECTED]> writes: > This patch allows using any row expression in return statement and does > transformation from untyped row to composite types if it's necessary. This patch doesn't seem to cope with cases where the supplied tuple has the wrong number of columns, and i

[PATCHES] Dynamic linking on AIX

2006-09-15 Thread Albe Laurenz
This patch fixes linking on AIX. Relevant threads on psql-hackers: http://archives.postgresql.org/pgsql-hackers/2006-09/msg01020.php http://archives.postgresql.org/pgsql-hackers/2006-09/msg01084.php http://archives.postgresql.org/pgsql-hackers/2006-09/msg01109.php Up to now, the default on AIX wa

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

2006-09-15 Thread Tom Lane
"Pavel Stehule" <[EMAIL PROTECTED]> writes: >> This patch doesn't seem to cope with cases where the supplied tuple has >> the wrong number of columns, and it doesn't look like it's being careful >> about dropped columns either. Also, that's a mighty bizarre-looking >> choice of cache memory contex

[PATCHES] Tiny plpython fix

2006-09-15 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. //Magnus plpython_vcerr.patch Description: plpython_vcerr.patch ---(

[PATCHES] Update to msvc build sys

2006-09-15 Thread Magnus Hagander
Here's a patch that updates the msvc build system. It contains the changes in Hiroshi-sans patch from about a week ago, so please apply this patch instead to avoid conflicts. Changes summary: * Change all references to vcbuild directory, since system was moved to src\tools\msvc on commit. * Suppor

[PATCHES] LDAP function signature for MSVC

2006-09-15 Thread Magnus Hagander
This patch changes the function definition for ldap_start_tls_sA() on win32 by removing the WINLDAPAPI. This is because in some cases WINLDAPAPI gets defined to __declspec(dllimport), which is not permitted at this location. in all other location it apears to be defined to nothing, so removing it r

[PATCHES] pg_strcasecmp in fe-connect.c

2006-09-15 Thread Magnus Hagander
This patch fixes a couple of cases where we use strcasecmp() instead of pg_strcasecmp() in fe_connect.c, coming from the LDAP client pathc. //Magnu <> s libpq_strcmp.diff Description: libpq_strcmp.diff ---(end of broadcast)--- TIP 3: Have you ch

[PATCHES] Include file in regress.c

2006-09-15 Thread Magnus Hagander
This patch adds a required include file to regress.c, required to get at InvalidTransactionId. //Magnus regress.diff Description: regress.diff ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [PATCHES] [HACKERS] Simplifying "standby mode"

2006-09-15 Thread Bruce Momjian
Patch applied. Thanks. --- Simon Riggs wrote: > On Wed, 2006-09-06 at 12:01 -0400, Bruce Momjian wrote: > > Simon Riggs wrote: > > > > > > Likely to be completed by end of next week now, submitted in chunks: > > > > > >

Re: [PATCHES] Doc patch on Warm Standby for High Availability

2006-09-15 Thread Bruce Momjian
Patch applied. Thanks. I saw the standby script in there now. Thanks. --- Simon Riggs wrote: > Docs pretty much as posted on hackers recently. > > SGML compiles cleanly... > > Comments/changes welcome. > > -- > Sim

Re: [PATCHES] currentItemData refactoring

2006-09-15 Thread Bruce Momjian
This has been saved for the 8.3 release: http://momjian.postgresql.org/cgi-bin/pgpatches_hold --- Heikki Linnakangas wrote: > Here's a patch to remove currentItemData & currentMarkpos from > IndexScanDesc, and add

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

2006-09-15 Thread Pavel Stehule
"Pavel Stehule" <[EMAIL PROTECTED]> writes: >> This patch doesn't seem to cope with cases where the supplied tuple has >> the wrong number of columns, and it doesn't look like it's being careful >> about dropped columns either. Also, that's a mighty bizarre-looking >> choice of cache memory

Re: [PATCHES] Include file in regress.c

2006-09-15 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > This patch adds a required include file to regress.c, required to get at > InvalidTransactionId. If that's needed, why isn't everybody else's build falling over too? regards, tom lane ---(end of broad

Re: [PATCHES] Tiny plpython fix

2006-09-15 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > 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

Re: [PATCHES] LDAP function signature for MSVC

2006-09-15 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > This patch changes the function definition for ldap_start_tls_sA() on > win32 by removing the WINLDAPAPI. Applied. regards, tom lane ---(end of broadcast)--- TIP 9: In versions

Re: [PATCHES] pg_strcasecmp in fe-connect.c

2006-09-15 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > This patch fixes a couple of cases where we use strcasecmp() instead of > pg_strcasecmp() in fe_connect.c, coming from the LDAP client pathc. Applied. I found another instance in contrib/hstore, too. There are also some occurrences in pgbench.c, bu

Re: [PATCHES] Update to msvc build sys

2006-09-15 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > Here's a patch that updates the msvc build system. It contains the > changes in Hiroshi-sans patch from about a week ago, so please apply > this patch instead to avoid conflicts. Changes summary: Applied, thanks. regards, tom