[COMMITTERS] pgsql: Fix freenig of names in Kerberos when using MIT - need to use the

2007-07-12 Thread Magnus Hagander
Log Message: --- Fix freenig of names in Kerberos when using MIT - need to use the free function provided in the Kerberos library. This fixes a very hard to track down heap corruption on windows when using debug runtimes. Modified Files: -- pgsql: configure (r1.551

[COMMITTERS] pgsql: Fix freenig of names in Kerberos when using MIT - need to use the

2007-07-12 Thread Magnus Hagander
Log Message: --- Fix freenig of names in Kerberos when using MIT - need to use the free function provided in the Kerberos library. This fixes a very hard to track down heap corruption on windows when using debug runtimes. Tags: REL8_2_STABLE Modified Files: -- pgsql:

[COMMITTERS] pgsql: Support GSSAPI builds where the header is and not

2007-07-12 Thread Magnus Hagander
Log Message: --- Support GSSAPI builds where the header is and not , such as OpenBSD (possibly all Heimdal). Stefan Kaltenbrunner Modified Files: -- pgsql: configure (r1.552 -> r1.553) (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.

[COMMITTERS] pgsql: Enable GSSAPI to build using MSVC.

2007-07-12 Thread Magnus Hagander
Log Message: --- Enable GSSAPI to build using MSVC. Always build GSSAPI when Kerberos is enabled, because the only Kerberos library supported always contains it. Modified Files: -- pgsql/src/backend/libpq: auth.c (r1.151 -> r1.152) (http://developer.postgre

[COMMITTERS] pgsql: Silence compile warning on win32, per Stefan and Buildfarm.

2007-07-12 Thread Magnus Hagander
Log Message: --- Silence compile warning on win32, per Stefan and Buildfarm. Modified Files: -- pgsql/src/bin/pg_ctl: pg_ctl.c (r1.82 -> r1.83) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c.diff?r1=1.82&r2=1.83)

[COMMITTERS] pgsql: Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg

2007-07-12 Thread Tom Lane
Log Message: --- Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg Stark. Tags: REL8_2_STABLE Modified Files: -- pgsql/src/backend/optimizer/prep: prepunion.c (r1.134 -> r1.134.2.1) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bac

[COMMITTERS] pgsql: Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg

2007-07-12 Thread Tom Lane
Log Message: --- Fix mistaken Assert in adjust_appendrel_attr_needed, per Greg Stark. Modified Files: -- pgsql/src/backend/optimizer/prep: prepunion.c (r1.142 -> r1.143) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/prep/prepunion.

[COMMITTERS] pgsql: Fix some warnings (probably actual bugs) generated by new GSSAPI

2007-07-12 Thread Tom Lane
Log Message: --- Fix some warnings (probably actual bugs) generated by new GSSAPI code when built on a 64-bit machine. Per buildfarm results extracted by Stefan. Modified Files: -- pgsql/src/backend/libpq: auth.c (r1.152 -> r1.153) (http://developer.postgr

Re: [COMMITTERS] pgsql: Fix some warnings (probably actual bugs) generated by new GSSAPI

2007-07-12 Thread Neil Conway
On Thu, 2007-07-12 at 17:36 -0300, Tom Lane wrote: > Fix some warnings (probably actual bugs) generated by new GSSAPI code > when built on a 64-bit machine. Per buildfarm results extracted by Stefan. Wouldn't it be more correct to cast size_t to unsigned long, rather than unsigned int? Obviously

[COMMITTERS] pgsql: Compute max and min int8 values using unsigned arithmetic, in

2007-07-12 Thread Tom Lane
Log Message: --- Compute max and min int8 values using unsigned arithmetic, in hopes of suppressing Sun Studio compiler warnings. Per Stefan. Modified Files: -- pgsql/src/backend/utils/adt: xml.c (r1.44 -> r1.45) (http://developer.postgresql.org/cvsweb.cgi

[COMMITTERS] pgsql: Some of our port-specific dynloader implementations are careful

2007-07-12 Thread Tom Lane
Log Message: --- Some of our port-specific dynloader implementations are careful to define pg_dlsym() as returning a PGFunction pointer, not just any pointer-to-function. But many are not. Suppress compiler warnings on platforms that aren't careful by inserting explicit casts at the two c

[COMMITTERS] pgsql: Suppress an integer-overflow warning.

2007-07-12 Thread Tom Lane
Log Message: --- Suppress an integer-overflow warning. Modified Files: -- pgsql/src/backend/utils/mb: wchar.c (r1.62 -> r1.63) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/wchar.c.diff?r1=1.62&r2=1.63) ---(

[COMMITTERS] pgsql: Suppress Sun Studio warnings, per Stefan.

2007-07-12 Thread Tom Lane
Log Message: --- Suppress Sun Studio warnings, per Stefan. Modified Files: -- pgsql/src/bin/pg_resetxlog: pg_resetxlog.c (r1.59 -> r1.60) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c.diff?r1=1.59&r2=1.60) --

Re: [COMMITTERS] pgsql: Fix some warnings (probably actual bugs) generated by new GSSAPI

2007-07-12 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > On Thu, 2007-07-12 at 17:36 -0300, Tom Lane wrote: >> Fix some warnings (probably actual bugs) generated by new GSSAPI code >> when built on a 64-bit machine. Per buildfarm results extracted by Stefan. > Wouldn't it be more correct to cast size_t to unsig

[COMMITTERS] pgsql: Simplify overly-cute array coding to avoid an apparent gcc bug,

2007-07-12 Thread Tom Lane
Log Message: --- Simplify overly-cute array coding to avoid an apparent gcc bug, which may or may not be harmless. Report from Stefan, patch from Heikki. Modified Files: -- pgsql/contrib/pg_trgm: trgm_op.c (r1.8 -> r1.9) (http://developer.postgresql.org/cv

[COMMITTERS] pgsql: Get dirmod.c on the same page as port.h about whether we use

2007-07-12 Thread Tom Lane
Log Message: --- Get dirmod.c on the same page as port.h about whether we use pgsymlink on Cygwin (answer: we don't). Also try to unwind the #ifdef spaghetti a little bit. Untested but hopefully I didn't break anything. Modified Files: -- pgsql/src/include: port.h

[COMMITTERS] pgunittest - pgUnitTest:

2007-07-12 Thread User Pgunittest
Log Message: --- Modified Files: -- pgUnitTest/src/org/pgfoundry/pgunittest/exceptions: XMLTransformerException.java (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/exceptions/XMLTransformerExc

[COMMITTERS] pgunittest - pgUnitTest: New Directory

2007-07-12 Thread User Pgunittest
Update of /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/unittests In directory pgfoundry.org:/tmp/cvs-serv84606/src/org/pgfoundry/pgunittest/unittests Log Message: Directory /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/unittests added to the repository

[COMMITTERS] pgunittest - pgUnitTest: New Directory

2007-07-12 Thread User Pgunittest
Update of /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/transformers In directory pgfoundry.org:/tmp/cvs-serv84606/src/org/pgfoundry/pgunittest/transformers Log Message: Directory /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/transformers added to the repository -

[COMMITTERS] pgunittest - pgUnitTest: New Directory

2007-07-12 Thread User Pgunittest
Update of /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/parsers/script In directory pgfoundry.org:/tmp/cvs-serv84606/src/org/pgfoundry/pgunittest/parsers/script Log Message: Directory /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/parsers/script added to the reposito

[COMMITTERS] pgunittest - pgUnitTest: New Directory

2007-07-12 Thread User Pgunittest
Update of /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/parsers In directory pgfoundry.org:/tmp/cvs-serv84606/src/org/pgfoundry/pgunittest/parsers Log Message: Directory /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/parsers added to the repository --

[COMMITTERS] pgunittest - pgUnitTest: New Directory

2007-07-12 Thread User Pgunittest
Update of /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/types In directory pgfoundry.org:/tmp/cvs-serv84606/src/org/pgfoundry/pgunittest/types Log Message: Directory /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/types added to the repository -

[COMMITTERS] pgunittest - pgUnitTest: New Directory

2007-07-12 Thread User Pgunittest
Update of /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/parsers/xml In directory pgfoundry.org:/tmp/cvs-serv84606/src/org/pgfoundry/pgunittest/parsers/xml Log Message: Directory /cvsroot/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/parsers/xml added to the repository

[COMMITTERS] pgsql: Fixup the indentation of a comment that was mangled by pgindent,

2007-07-12 Thread Neil Conway
Log Message: --- Fixup the indentation of a comment that was mangled by pgindent, and add dashes to the start/end of the comment block to try to prevent this happening in the future. Modified Files: -- pgsql/src/bin/pg_dump: pg_dump.c (r1.468 -> r1.469) (ht

[COMMITTERS] pgsql: Fix a portability bug (ye olde not casting a argument

2007-07-12 Thread Tom Lane
Log Message: --- Fix a portability bug (ye olde not casting a argument to unsigned char). Fortunately we still have buildfarm machines that will flag this. Seems to be new in CVS HEAD, so no backpatch. Modified Files: -- pgsql/src/backend/utils/adt: cash.c (r1.70

[COMMITTERS] pgunittest - pgUnitTest:

2007-07-12 Thread User Pgunittest
Log Message: --- Modified Files: -- pgUnitTest/src/org/pgfoundry/pgunittest: PGUnitTest.java (r1.21 -> r1.22) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgunittest/pgUnitTest/src/org/pgfoundry/pgunittest/PGUnitTest.java.diff?r1=1.21&r2=1.22) ---

[COMMITTERS] pgsql: Add casts to suppress warnings about m68k-specific kluge in

2007-07-12 Thread Tom Lane
Log Message: --- Add casts to suppress warnings about m68k-specific kluge in fmgr.c. Modified Files: -- pgsql/src/backend/utils/fmgr: fmgr.c (r1.106 -> r1.107) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/fmgr.c.diff?r1=1.106&r2=

[COMMITTERS] pgsql: Fix map_sql_typecoll_to_xmlschema_types() to not fail on dropped

2007-07-12 Thread Tom Lane
Log Message: --- Fix map_sql_typecoll_to_xmlschema_types() to not fail on dropped columns, per my gripe earlier today. Make it look a bit less like someone's first effort at backend coding. Modified Files: -- pgsql/src/backend/utils/adt: xml.c (r1.45 -> r1.46)

[COMMITTERS] pgsql: Volatile-qualify a dozen variables in plpython.c to eliminate

2007-07-12 Thread Tom Lane
Log Message: --- Volatile-qualify a dozen variables in plpython.c to eliminate warnings from old versions of gcc. It's not clear to me that this is really necessary for correctness, but less warnings are always good. Per buildfarm results and local testing. Modified Files: --