[COMMITTERS] pgsql: ALTER [IF EXISTS] ... allows silent DDL if required,

2012-01-23 Thread Simon Riggs
ALTER  [IF EXISTS] ... allows silent DDL if required,
e.g. ALTER FOREIGN TABLE IF EXISTS foo RENAME TO bar

Pavel Stehule

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/b8a91d9d1c7ec75aaecf13df687ec7b5b0ed35a6

Modified Files
--
doc/src/sgml/ref/alter_foreign_table.sgml  |   18 ++-
doc/src/sgml/ref/alter_index.sgml  |   18 ++-
doc/src/sgml/ref/alter_sequence.sgml   |   18 ++-
doc/src/sgml/ref/alter_table.sgml  |   18 ++-
doc/src/sgml/ref/alter_view.sgml   |   24 +++-
src/backend/commands/sequence.c|   10 ++-
src/backend/commands/tablecmds.c   |   34 -
src/backend/nodes/copyfuncs.c  |4 +
src/backend/nodes/equalfuncs.c |4 +
src/backend/parser/gram.y  |  216 
src/backend/parser/parse_utilcmd.c |   10 ++-
src/backend/tcop/utility.c |   53 ---
src/include/nodes/parsenodes.h |4 +
src/test/regress/expected/alter_table.out  |   46 ++
src/test/regress/expected/foreign_data.out |   44 ++
src/test/regress/expected/sequence.out |3 +
src/test/regress/sql/alter_table.sql   |   32 
src/test/regress/sql/foreign_data.sql  |   26 
src/test/regress/sql/sequence.sql  |4 +
19 files changed, 534 insertions(+), 52 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Resolve timing issue with logging locks for Hot Standby.

2012-01-23 Thread Simon Riggs
Resolve timing issue with logging locks for Hot Standby.
We log AccessExclusiveLocks for replay onto standby nodes,
but because of timing issues on ProcArray it is possible to
log a lock that is still held by a just committed transaction
that is very soon to be removed. To avoid any timing issue we
avoid applying locks made by transactions with InvalidXid.

Simon Riggs, bug report Tom Lane, diagnosis Pavan Deolasee

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/c172b7b02e6f6008d6dad66ddee8f67faf223c5b

Modified Files
--
src/backend/storage/ipc/procarray.c |8 +--
src/backend/storage/ipc/standby.c   |  110 ---
src/backend/storage/lmgr/lock.c |   12 -
src/include/storage/standby.h   |2 +-
4 files changed, 88 insertions(+), 44 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove tab in 9.1 SGML file.

2012-01-23 Thread Bruce Momjian
Remove tab in 9.1 SGML file.

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/e9cdb00ccdf3c4ef8706e801617bd4ed21907f5d

Modified Files
--
doc/src/sgml/monitoring.sgml |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers