[COMMITTERS] pgsql: Add a hook in ExecCheckRTPerms().

2010-07-09 Thread Robert Haas
Log Message: --- Add a hook in ExecCheckRTPerms(). This hook allows a loadable module to gain control when table permissions are checked. It is expected to be used by an eventual SE-PostgreSQL implementation, but there are other possible applications as well. A sample contrib module can

[COMMITTERS] pgsql: Properly report errno/out-of-disk-space error from pg_upgrade

2010-07-09 Thread Bruce Momjian
Log Message: --- Properly report errno/out-of-disk-space error from pg_upgrade when in copy mode, per report from depst...@alliedtesting.com. Patch suggestion from Magnus. Backpatch to 9.0.X. Modified Files: -- pgsql/contrib/pg_upgrade: TESTING (r1.2 - r1.3)

[COMMITTERS] pgsql: Properly report errno/out-of-disk-space error from pg_upgrade

2010-07-09 Thread Bruce Momjian
Log Message: --- Properly report errno/out-of-disk-space error from pg_upgrade when in copy mode, per report from depst...@alliedtesting.com. Patch suggestion from Magnus. Backpatch to 9.0.X. Tags: REL9_0_STABLE Modified Files: -- pgsql/contrib/pg_upgrade:

[COMMITTERS] pg-migrator - pg_migrator: Properly return errno/out-of-disk error on

2010-07-09 Thread User Bmomjian
Log Message: --- Properly return errno/out-of-disk error on copy failure. Modified Files: -- pg_migrator/src: file.c (r1.35 - r1.36) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pg-migrator/pg_migrator/src/file.c?r1=1.35r2=1.36) -- Sent via

[COMMITTERS] pgsql: Fix ruleutils' get_variable() to print something useful for Vars

2010-07-09 Thread Tom Lane
Log Message: --- Fix ruleutils' get_variable() to print something useful for Vars referencing resjunk outputs of subquery tlists, instead of throwing an error. Per bug #5548 from Daniel Grace. We might at some point find we ought to back-patch this further than 9.0, but I think that such

[COMMITTERS] pgsql: Fix ruleutils' get_variable() to print something useful for Vars

2010-07-09 Thread Tom Lane
Log Message: --- Fix ruleutils' get_variable() to print something useful for Vars referencing resjunk outputs of subquery tlists, instead of throwing an error. Per bug #5548 from Daniel Grace. We might at some point find we ought to back-patch this further than 9.0, but I think that such

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Avoid an Assert failure in deconstruct_array() by making

2010-07-09 Thread Tom Lane
Log Message: --- Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's

[COMMITTERS] pgsql: Clarify that psql -c ignores psqlrc files.

2010-07-09 Thread Robert Haas
Log Message: --- Clarify that psql -c ignores psqlrc files. Tim Landscheidt Modified Files: -- pgsql/doc/src/sgml/ref: psql-ref.sgml (r1.244 - r1.245) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/psql-ref.sgml?r1=1.244r2=1.245) --

[COMMITTERS] pgsql: Clarify that psql -c ignores psqlrc files.

2010-07-09 Thread Robert Haas
Log Message: --- Clarify that psql -c ignores psqlrc files. Tim Landscheidt Tags: REL9_0_STABLE Modified Files: -- pgsql/doc/src/sgml/ref: psql-ref.sgml (r1.244 - r1.244.2.1)

[COMMITTERS] npgsql - Npgsql2: [#1010798] Cast-Exception with NpgsqlTimeStamp to

2010-07-09 Thread User Fxjr
Log Message: --- [#1010798] Cast-Exception with NpgsqlTimeStamp to System.DateTime. Fixed. Also fixed another problem where Npgsql was mapping DbType.DateTime to NpgsqlDbType.TimestampTZ. Modified Files: -- Npgsql2/src/Npgsql: NpgsqlParameter.cs (r1.24 - r1.25)

[COMMITTERS] npgsql - Npgsql2: Fix build for .NET 2.0

2010-07-09 Thread User Jbcooley
Log Message: --- Fix build for .NET 2.0 Modified Files: -- Npgsql2/src/NpgsqlTypes: NpgsqlTypesHelper.cs (r1.34 - r1.35) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypesHelper.cs?r1=1.34r2=1.35) -- Sent via

[COMMITTERS] npgsql - Npgsql2: Update and include tests for NpgsqlValue in

2010-07-09 Thread User Jbcooley
Log Message: --- Update and include tests for NpgsqlValue in NpgsqlParameter Modified Files: -- Npgsql2/testsuite/noninteractive/NUnit20: NpgsqlParameterTests.cs (r1.1 - r1.2)

[COMMITTERS] npgsql - Npgsql2: Ported more tests.

2010-07-09 Thread User Jbcooley
Log Message: --- Ported more tests. Test validation still needs to be done. Modified Files: -- Npgsql2/testsuite/noninteractive/NUnit20: NpgsqlParameterTests.cs (r1.2 - r1.3)

[COMMITTERS] npgsql - Npgsql2: Fix some of the broken tests

2010-07-09 Thread User Jbcooley
Log Message: --- Fix some of the broken tests Modified Files: -- Npgsql2/testsuite/noninteractive/NUnit20: NpgsqlParameterTests.cs (r1.3 - r1.4)

[COMMITTERS] npgsql - Npgsql2: Fix an additional broken tests

2010-07-09 Thread User Jbcooley
Log Message: --- Fix an additional broken tests Modified Files: -- Npgsql2/testsuite/noninteractive/NUnit20: NpgsqlParameterTests.cs (r1.4 - r1.5)

[COMMITTERS] npgsql - Npgsql2: Fixed bug where Npgsql was returning DBNull for a

2010-07-09 Thread User Fxjr
Log Message: --- Fixed bug where Npgsql was returning DBNull for a fresh NpgsqlParameter. According to tests based on sqlclient, Npgsql should return null. Modified Files: -- Npgsql2/src/Npgsql: NpgsqlParameter.cs (r1.25 - r1.26)

[COMMITTERS] npgsql - Npgsql2: Fixed more bugs about ResetDbType() and null values.

2010-07-09 Thread User Fxjr
Log Message: --- Fixed more bugs about ResetDbType() and null values. Now, Npgsql is a little bit more conformant to sqlclient. Modified Files: -- Npgsql2/src/Npgsql: NpgsqlParameter.cs (r1.26 - r1.27)