Re: [PATCHES] Troff -ms output for psql

2005-06-09 Thread Bruce Momjian
Patch applied, thanks. Following the commit of my psql latex format fixes, I've re-done the patch for the troff-ms format which previously included this patch. It's identical to the original but with the latex hunks removed.

Re: [PATCHES] to_timestamp overloaded to convert from Unix epoch

2005-06-09 Thread Bruce Momjian
Updated patch attached with both documentation portions --- applied. --- Michael Glaesemann wrote: Please find attached a patch (diff -c against cvs HEAD) to add a function that accepts a double precision argument

Re: [PATCHES] final light versions of Oracle compatibility (SQLSTATE, GREATEST,

2005-06-09 Thread Tom Lane
Neil Conway [EMAIL PROTECTED] writes: Attached is a revised version of this patch. I'll apply it tonight or tomorrow, barring any objections. I still find the grammar changes to be an ugly kluge --- it should be possible to do this without introducing bogus nonterminals. The ns push/pop

Re: [PATCHES] final light versions of Oracle compatibility (SQLSTATE,

2005-06-09 Thread Bruce Momjian
Also, do we want these features? Do they duplicate anything we already have? --- Tom Lane wrote: Neil Conway [EMAIL PROTECTED] writes: Attached is a revised version of this patch. I'll apply it tonight or tomorrow,

Re: [PATCHES] [HACKERS] Added schema selection to pg_restore

2005-06-09 Thread Bruce Momjian
Richard van den Berg wrote: Since I needed this feature badly, I added the -n / --schema switch to pg_restore. It restores the given schemaname only. It can be used in conjunction with the -t and other switches to make the selection very fine grained. This patches works for me, but it

[PATCHES] Broken code in recent troff commit

2005-06-09 Thread Tom Lane
print.c line 1009: fputs(\(rs, fout); is sufficiently obviously wrong that even my ancient HPUX C compiler is unhappy. I don't know troff, though, so I don't know if \\(rs was meant or something else. regards, tom lane ---(end of

Re: [PATCHES] Broken code in recent troff commit

2005-06-09 Thread Bruce Momjian
Tom Lane wrote: print.c line 1009: fputs(\(rs, fout); is sufficiently obviously wrong that even my ancient HPUX C compiler is unhappy. I don't know troff, though, so I don't know if \\(rs was meant or something else. Yea, fixed. \(rs is reverse slash. -- Bruce Momjian

Re: [PATCHES] Broken code in recent troff commit

2005-06-09 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Lane [EMAIL PROTECTED] writes: print.c line 1009: fputs(\(rs, fout); is sufficiently obviously wrong that even my ancient HPUX C compiler is unhappy. I don't know troff, though, so I don't know if \\(rs was meant or

Re: [PATCHES] PQgetGetCopyData() doc. and PQsendQueryGuts() SegFault handling fix.

2005-06-09 Thread Tom Lane
Volkan YAZICI [EMAIL PROTECTED] writes: Fixed PQconsumeInput() usage for PQgetCopyData() in libpq.sgml. (Related mail thread: http://archives.postgresql.org/pgsql-novice/2005-06/msg00038.php) Fixed SegFault in PQsendQueryGuts() when user submitted a binary parameter without size. And 2

[PATCHES] fix typo in postmaster.c

2005-06-09 Thread Alvaro Herrera
This trivial patch fixes a typo in StartChildProcess opening comment. Please apply. -- Alvaro Herrera (alvherre[a]surnet.cl) Management by consensus: I have decided; you concede. (Leonard Liu) Index: postmaster.c === RCS file:

Re: [PATCHES] fix typo in postmaster.c

2005-06-09 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: This trivial patch fixes a typo in StartChildProcess opening comment. Please apply. Done. regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives?

Re: [PATCHES] Show full path name when saving in psql

2005-06-09 Thread Bruce Momjian
Greg Sabino Mullane wrote: [ There is text before PGP section. ] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message This patch shows the full path name when doing a \s in psql, if you have previously issued a \cd command. I have

Re: [PATCHES] plperl features

2005-06-09 Thread Bruce Momjian
Sergej Sergeev wrote: Sergej Sergeev [EMAIL PROTECTED] writes: What happens if you feed other pseudotypes, like cstring or language_handler? Shouldn't that be disallowed or something? Other pseudo-types are disallowed (no-change) No, because you diked out

Re: [PATCHES] final light versions of Oracle compatibility (SQLSTATE,

2005-06-09 Thread Neil Conway
Tom Lane wrote: I still find the grammar changes to be an ugly kluge --- it should be possible to do this without introducing bogus nonterminals. The scope-local variables need to be added to the namespace by the time that we parse the WHEN clauses. I can see two ways to do that: adding a

Re: [PATCHES] plperl features

2005-06-09 Thread Tom Lane
Bruce Momjian pgman@candle.pha.pa.us writes: Also, I don't think the arg_is_p variable is really the proper fix for this, but I am unsure what to recomment. Others? The thing I didn't like about that was that it assumes there is only one pseudotype behavior that is or ever will be interesting

Re: [PATCHES] [HACKERS] PGPASSWORD and client tools

2005-06-09 Thread Tom Lane
Bruce Momjian pgman@candle.pha.pa.us writes: charpgpassfile[MAXPGPATH]; ! if (!pgpassfile) ! { ! fprintf(stderr, libpq_gettext(out of memory\n)); ! return NULL; ! } Waste of code, eh?

Re: [PATCHES] [HACKERS] PGPASSWORD and client tools

2005-06-09 Thread Bruce Momjian
Tom Lane wrote: Bruce Momjian pgman@candle.pha.pa.us writes: charpgpassfile[MAXPGPATH]; ! if (!pgpassfile) ! { ! fprintf(stderr, libpq_gettext(out of memory\n)); ! return NULL; ! } Waste of code,