[PATCHES] implement prepared queries in plperl

2005-12-08 Thread Dmitry Karasik
-- Sincerely, Dmitry Karasik diff -rcN plperl.cvs/SPI.xs plperl.0/SPI.xs *** plperl.cvs/SPI.xs Thu Oct 27 12:34:29 2005 --- plperl.0/SPI.xs Thu Dec 8 10:35:38 2005 *** *** 146,150 --- 146,226 OUTPUT: RETVAL + SV* +

Re: [PATCHES] implement prepared queries in plperl

2005-12-08 Thread Andrew Dunstan
Dmitry, please supply documentation (i.e. a patch to the SGML) to accompany this patch, or at the very least a description of how it works, with the promise of proper documentation to follow. cheers andrew ---(end of broadcast)--- TIP 2:

Re: [PATCHES] TODO-Item: Rename of constraints

2005-12-08 Thread Joachim Wieland
On Wed, Dec 07, 2005 at 09:54:44PM +, Simon Riggs wrote: On Mon, 2005-12-05 at 10:24 +0100, Joachim Wieland wrote: o %Allow ALTER TABLE ... ALTER CONSTRAINT ... RENAME o Have ALTER INDEX update the name of a constraint using that index o Add ALTER TABLE RENAME

Re: [PATCHES] implement prepared queries in plperl

2005-12-08 Thread Dmitry Karasik
Dmitry, please supply documentation (i.e. a patch to the SGML) to accompany this patch, or at the very least a description of how it works, with the promise of proper documentation to follow. I am willing to write a proper documentation, but I haven't found the place where to add

Re: [PATCHES] implement prepared queries in plperl

2005-12-08 Thread Andrew Dunstan
Dmitry Karasik wrote: Dmitry, please supply documentation (i.e. a patch to the SGML) to accompany this patch, or at the very least a description of how it works, with the promise of proper documentation to follow. I am willing to write a proper documentation, but I haven't found the

Re: [PATCHES] problem in MS-VC6 environment.

2005-12-08 Thread Bruce Momjian
Patch applied to CVS HEAD and 8.1.X. Thanks. I used WIN32_CLIENT_ONLY rather than _MSC_VER because that covers both MSC and Borland C. Updated patch attached. --- Hiroshi Saito wrote: Hi Dave-san and Bruce-san. I

Re: [PATCHES] [DOCS] pl/pgSQL doco patch

2005-12-08 Thread Bruce Momjian
Add documentation about the inability of plpsql to use parameter names that are the same as column names used in the function. I moved the item up on the list of porting issues. Patch applied to CVS HEAD and 8.1.X. Thanks.

Re: [DOCS] [PATCHES] pl/pgSQL doco patch

2005-12-08 Thread Bruce Momjian
I think the Oracle porting section is the correct place for this item. Thanks for the patch. --- Philip Yarra wrote: On Thu, 17 Nov 2005 01:40 am, Andrew Dunstan wrote: I am wondering we should make this warning more

Re: [PATCHES] psql, tab completion additions

2005-12-08 Thread Bruce Momjian
Patch applied to CVS HEAD only. Thanks. --- Sergey E. Koposov wrote: Now the patch have been made using cvs diff -c Sergey On Tue, 29 Nov 2005, Sergey E. Koposov wrote: Hello All, 1) I'm proposing a

Re: [PATCHES] Trivial doc-patch for constraint description

2005-12-08 Thread Bruce Momjian
Patch applied to CVS HEAD and 8.1.X. Thanks. --- Joachim Wieland wrote: Hi, there's a paragraph in the ALTER TABLE reference page that reads: DROP CONSTRAINT This form drops constraints on a table.

Re: [PATCHES] AIX FAQ update

2005-12-08 Thread Bruce Momjian
Patch applied to CVS HEAD and 8.1.X. Thanks. --- Seneca Cunningham wrote: FAQ_AIX in 8.1.0 contains outdated information about how to deal with postgres problems due to readline. The attached patch replaces that

[PATCHES] initdb detecting date order

2005-12-08 Thread Peter Eisentraut
Here's a patch for initdb detecting the date order of the lc_time locale and initializing the datestyle parameter of the new cluster accordingly. This relies on feeding an umambiguous date through strftime(%x) and checking in which order things come out. (This was suggested to me by Martin

Re: [PATCHES] initdb detecting date order

2005-12-08 Thread Tom Lane
Peter Eisentraut [EMAIL PROTECTED] writes: Here's a patch for initdb detecting the date order of the lc_time locale and initializing the datestyle parameter of the new cluster accordingly. Er, is that really a good idea? It will make it impossible to document what the default behavior is;

Re: [PATCHES] initdb detecting date order

2005-12-08 Thread Bruce Momjian
Tom Lane wrote: Peter Eisentraut [EMAIL PROTECTED] writes: Here's a patch for initdb detecting the date order of the lc_time locale and initializing the datestyle parameter of the new cluster accordingly. Er, is that really a good idea? It will make it impossible to document what the

Re: [PATCHES] initdb detecting date order

2005-12-08 Thread Peter Eisentraut
Tom Lane wrote: Er, is that really a good idea? It will make it impossible to document what the default behavior is; I think a localized default behavior is more important than a fixed default behavior for everyone. We already adjust the locales and encodings in initdb and this is just a

Re: [PATCHES] initdb detecting date order

2005-12-08 Thread Bruce Momjian
Peter Eisentraut wrote: Tom Lane wrote: Er, is that really a good idea? It will make it impossible to document what the default behavior is; I think a localized default behavior is more important than a fixed default behavior for everyone. We already adjust the locales and encodings

Re: [PATCHES] initdb detecting date order

2005-12-08 Thread Tom Lane
Peter Eisentraut [EMAIL PROTECTED] writes: I think a localized default behavior is more important than a fixed default behavior for everyone. We already adjust the locales and encodings in initdb and this is just a natural extension of that theme. So --no-locale would suppress any change?

[PATCHES] CVS of 8.1.x MS-VC6 probrem.

2005-12-08 Thread Hiroshi Saito
Dear Bruce san. I reconfirmed MS-VC6. Thank you for wonderful correspondence. However, Another problem newly occurred. This solves the problem of snprintf and vsnprintf. Please apply it. Thank you. Regards, Hiroshi Saito--- src/include/pg_config.h.win32.orig Fri Dec 9 13:30:41 2005 +++

Re: [PATCHES] CVS of 8.1.x MS-VC6 probrem.

2005-12-08 Thread Bruce Momjian
That code was removed when *printf was fixed, and we thought it wasn't needed anumore. Thanks for the quick report. Patch applied to CVS HEAD and 8.1.X. --- Hiroshi Saito wrote: Dear Bruce san. I reconfirmed MS-VC6.

Re: [PATCHES] CVS of 8.1.x MS-VC6 probrem.

2005-12-08 Thread Bruce Momjian
While I have applied your patch, I am now confused about something. Your change was to pg_config.h.win32, which is used only for WIN32_CLIENT_ONLY compiles, namely MSVC and Borland C. The addition was: /* use _snprintf and _vsnprintf */ #define HAVE_DECL_SNPRINTF 1

Re: [PATCHES] CVS of 8.1.x MS-VC6 probrem.

2005-12-08 Thread Bruce Momjian
Also, if my suggested changes do not allow it to compile, please show us the compile error message with my suggested changes. Thanks. --- Bruce Momjian wrote: While I have applied your patch, I am now confused about

Re: [PATCHES] CVS of 8.1.x MS-VC6 probrem.

2005-12-08 Thread Hiroshi Saito
Dear Bruce-san. #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define USE_REPL_SNPRINTF 1 Ummm... This causes injustice. --

[PATCHES] unsubscribe

2005-12-08 Thread Dinesh Pandey
unsubscribe

Re: [PATCHES] CVS of 8.1.x MS-VC6 probrem.

2005-12-08 Thread Hiroshi Saito
for messages, but libpq and psql also have message translation. The work of using port/snprintf is needed. and If gettext is used Is it desired now? It will be tonight if it becomes so. Regards, Hiroshi Saito ---(end of broadcast)--- TIP 1: