[COMMITTERS] pgsql: Forgot to back-patch CLUSTER test fix to 8.4.

2010-02-02 Thread Tom Lane
Log Message: --- Forgot to back-patch CLUSTER test fix to 8.4. Tags: REL8_4_STABLE Modified Files: -- pgsql/src/test/regress/expected: cluster.out (r1.20.4.1 -> r1.20.4.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/clust

Re: [COMMITTERS] pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

2010-02-02 Thread Magnus Hagander
On Wednesday, February 3, 2010, Tom Lane wrote: > Magnus Hagander writes: >> On Wednesday, February 3, 2010, Tom Lane wrote: >>> Perhaps instead of depending on magic constants, you should have the >>> code use what "localhost" resolves as, comparably to pgstat.c. > >> Pgstat only talks locally

Re: [COMMITTERS] pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

2010-02-02 Thread Tom Lane
Magnus Hagander writes: > On Wednesday, February 3, 2010, Tom Lane wrote: >> Perhaps instead of depending on magic constants, you should have the >> code use what "localhost" resolves as, comparably to pgstat.c. > Pgstat only talks locally so that's a completely different thing. Ah, right. I n

Re: [COMMITTERS] pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

2010-02-02 Thread Magnus Hagander
On Wednesday, February 3, 2010, Tom Lane wrote: > m...@postgresql.org (Magnus Hagander) writes: >> Make RADIUS authentication use pg_getaddrinfo_all() to get address of >> the server. > > Looks like the mingw machines don't have in6addr_any. *grumble* > Perhaps instead of depending on magic con

[COMMITTERS] pgsql: Fix unwarranted assumption that a cached rowtype would stick

2010-02-02 Thread Tom Lane
Log Message: --- Fix unwarranted assumption that a cached rowtype would stick around for the lifespan of the CreateStmt. Per buildfarm member jaguar. Modified Files: -- pgsql/src/backend/parser: parse_utilcmd.c (r2.37 -> r2.38) (http://anoncvs.postgresql.o

[COMMITTERS] pgbulkload - pgbulkload: Support TRUNCATE option and cleanup error

2010-02-02 Thread User Itagaki
Log Message: --- Support TRUNCATE option and cleanup error handling routines. Modified Files: -- pgbulkload/bin: pg_bulkload.c (r1.18 -> r1.19) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbulkload/pgbulkload/bin/pg_bulkload.c?r1=1.18&r2=1.19) pgbulkl

[COMMITTERS] pgexternaltable - src:

2010-02-02 Thread User Maosen
Log Message: --- Added Files: --- src/externaltable/test/testcase/testmmap: Makefile (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgexternaltable/src/externaltable/test/testcase/testmmap/Makefile?rev=1.1&content-type=text/x-cvsweb-markup) data (

Re: [COMMITTERS] pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

2010-02-02 Thread Tom Lane
m...@postgresql.org (Magnus Hagander) writes: > Make RADIUS authentication use pg_getaddrinfo_all() to get address of > the server. Looks like the mingw machines don't have in6addr_any. Perhaps instead of depending on magic constants, you should have the code use what "localhost" resolves as, com

[COMMITTERS] pgsql: Add #include --- guessing the lack of this is why

2010-02-02 Thread Tom Lane
Log Message: --- Add #include --- guessing the lack of this is why Windows machines are all rejecting isinf() calls in this file. Modified Files: -- pgsql/src/interfaces/ecpg/ecpglib: execute.c (r1.91 -> r1.92) (http://anoncvs.postgresql.org/cvsweb.cgi/pgs

[COMMITTERS] pgsql: Fix timing-sensitive regression test result I just created :-(

2010-02-02 Thread Tom Lane
Log Message: --- Fix timing-sensitive regression test result I just created :-( --- the DROP USER at the end of the cluster.sql test could fail, if the temp table created in the previous session hadn't finished getting dropped. Unluckily, I didn't see this in several repetitions of the para

[COMMITTERS] pgsql: Assorted cleanups in preparation for using a map file to support

2010-02-02 Thread Tom Lane
Log Message: --- Assorted cleanups in preparation for using a map file to support altering the relfilenode of currently-not-relocatable system catalogs. 1. Get rid of inval.c's dependency on relfilenode, by not having it emit smgr invalidations as a result of relcache flushes. Instead, sm

[COMMITTERS] pgsql: Fix assorted poorly-thought-out message strings: use %u not %d

2010-02-02 Thread Tom Lane
Log Message: --- Fix assorted poorly-thought-out message strings: use %u not %d for printing OIDs, avoid random line breaks in strings somebody might grep for. Modified Files: -- pgsql/src/backend/storage/ipc: standby.c (r1.9 -> r1.10) (http://anoncvs.postg

[COMMITTERS] pgsql: CLUSTER specified the wrong namespace when renaming toast tables

2010-02-02 Thread Tom Lane
Log Message: --- CLUSTER specified the wrong namespace when renaming toast tables of temporary relations (they don't live in pg_toast). This caused an Assert failure in assert-enabled builds. So far as I can see, in a non-assert build it would only have messed up the checks for conflictin

[COMMITTERS] pgsql: CLUSTER specified the wrong namespace when renaming toast tables

2010-02-02 Thread Tom Lane
Log Message: --- CLUSTER specified the wrong namespace when renaming toast tables of temporary relations (they don't live in pg_toast). This caused an Assert failure in assert-enabled builds. So far as I can see, in a non-assert build it would only have messed up the checks for conflictin

[COMMITTERS] pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

2010-02-02 Thread Magnus Hagander
Log Message: --- Make RADIUS authentication use pg_getaddrinfo_all() to get address of the server. Gets rid of a fairly ugly hack for Solaris, and also provides hostname and IPV6 support. Modified Files: -- pgsql/doc/src/sgml: client-auth.sgml (r1.129 -> r1.130)

[COMMITTERS] pgsql: Fold FindConversion() into FindConversionByName() and remove ACL

2010-02-02 Thread Robert Haas
Log Message: --- Fold FindConversion() into FindConversionByName() and remove ACL check. All callers of FindConversionByName() already do suitable permissions checking already apart from this function, but this is not just dead code removal: the unnecessary permissions check can actually l

[COMMITTERS] pgsql: Remove copyright mention of Andrew Yu, per author's permission.

2010-02-02 Thread Bruce Momjian
Log Message: --- Remove copyright mention of Andrew Yu, per author's permission. Backpatch to 8.4.X. Tags: REL8_4_STABLE Modified Files: -- pgsql/src/tutorial: basics.source (r1.5 -> r1.5.12.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tuto

[COMMITTERS] pgsql: Remove copyright mention of Andrew Yu, per author's permission.

2010-02-02 Thread Bruce Momjian
Log Message: --- Remove copyright mention of Andrew Yu, per author's permission. Backpatch to 8.4.X. Modified Files: -- pgsql/src/tutorial: basics.source (r1.5 -> r1.6) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tutorial/basics.source?r1=1.5&r2=1.

[COMMITTERS] pgsql: The particular table names used in the new inheritance regression

2010-02-02 Thread Tom Lane
Log Message: --- The particular table names used in the new inheritance regression test are prone to sort differently in different locales, as seen in buildfarm results. Let's cast to name not text to avoid that. Modified Files: -- pgsql/src/test/regress/expected: i

[COMMITTERS] pgsql: Fixed NaN/Infinity problems in ECPG for

2010-02-02 Thread Michael Meskes
Log Message: --- Fixed NaN/Infinity problems in ECPG for float/double/numeric/decimal by making it OS independant. Patch done by Zoltán Böszörményi. Modified Files: -- pgsql/src/interfaces/ecpg/ecpglib: data.c (r1.47 -> r1.48) (http://anoncvs.postgres

[COMMITTERS] pgbulkload - pgbulkload: Read control files in the client program, and

2010-02-02 Thread User Itagaki
Log Message: --- Read control files in the client program, and pass the contents to the server as a text[]. When INFILE, LOGFILE, PARSE_BADFILE or DUPLICATE_BADFILE are relative paths, adjust them to absolute paths with the current working directory (if command-line), or the directory where