[COMMITTERS] pgsql: Tweak find_composite_type_dependencies API a bit more.

2011-02-11 Thread Robert Haas
Tweak find_composite_type_dependencies API a bit more.

Per discussion with Noah Misch, the previous coding, introduced by
my commit 65377e0b9c0e0397b1598b38b6a7fb8b6f740d39 on 2011-02-06,
was really an abuse of RELKIND_COMPOSITE_TYPE, since the caller in
typecmds.c is actually passing the name of a domain.  So go back
having a type name argument, but make the first argument a Relation
rather than just a string so we can tell whether it's a table or
a foreign table and emit the proper error message.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/2c20ba1fd284423e4652f2f6855d257339245e97

Modified Files
--
src/backend/commands/tablecmds.c |   25 +
src/backend/commands/typecmds.c  |2 +-
src/include/commands/tablecmds.h |3 ++-
3 files changed, 16 insertions(+), 14 deletions(-)


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


[COMMITTERS] pgsql: Typo fixes. receivedUpto should be capitalized consistently.

2011-02-11 Thread Robert Haas
Typo fixes.  receivedUpto should be capitalized consistently.

Branch
--
master

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

Modified Files
--
src/backend/replication/README|4 ++--
src/backend/replication/walreceiver.c |2 +-
2 files changed, 3 insertions(+), 3 deletions(-)


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


[COMMITTERS] pgsql: Allow tab-completion of :variable even as first word on a line.

2011-02-11 Thread Robert Haas
Allow tab-completion of :variable even as first word on a line.

Christoph Berg

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/5917574539732a6e521a6dc260fcd7c9a258d89e

Modified Files
--
src/bin/psql/tab-complete.c |   22 +++---
1 files changed, 11 insertions(+), 11 deletions(-)


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


[COMMITTERS] pgsql: Fix comment recently obsoleted

2011-02-11 Thread Alvaro Herrera
Fix comment recently obsoleted

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/60141eefaf28e4ff5e406952740423dd6fd16266

Modified Files
--
src/backend/parser/parse_type.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)


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


[COMMITTERS] pgsql: Add support for multiple versions of an extension and ALTER EXTE

2011-02-11 Thread Tom Lane
Add support for multiple versions of an extension and ALTER EXTENSION UPDATE.

This follows recent discussions, so it's quite a bit different from
Dimitri's original.  There will probably be more changes once we get a bit
of experience with it, but let's get it in and start playing with it.

This is still just core code.  I'll start converting contrib modules
shortly.

Dimitri Fontaine and Tom Lane

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/1214749901fc3c66732cfd9f276b989635c01360

Modified Files
--
contrib/pg_upgrade_support/pg_upgrade_support.c |9 +-
doc/src/sgml/catalogs.sgml  |2 +-
doc/src/sgml/extend.sgml|  175 +-
doc/src/sgml/ref/alter_extension.sgml   |   37 +-
doc/src/sgml/ref/create_extension.sgml  |   52 ++-
src/backend/commands/extension.c|  753 +--
src/backend/nodes/copyfuncs.c   |   14 +
src/backend/nodes/equalfuncs.c  |   12 +
src/backend/parser/gram.y   |   52 ++-
src/backend/tcop/utility.c  |   10 +
src/bin/pg_dump/pg_dump.c   |   10 +-
src/bin/psql/tab-complete.c |2 +-
src/include/catalog/pg_extension.h  |6 +-
src/include/commands/extension.h|2 +
src/include/nodes/nodes.h   |1 +
src/include/nodes/parsenodes.h  |8 +
16 files changed, 1027 insertions(+), 118 deletions(-)


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


[COMMITTERS] pgsql: Clean up installation directory choices for extensions.

2011-02-11 Thread Tom Lane
Clean up installation directory choices for extensions.

Arrange for the control files to be in $SHAREDIR/extension not
$SHAREDIR/contrib, since we're generally trying to deprecate the term
"contrib" and this is a once-in-many-moons opportunity to get rid of it in
install paths.  Fix PGXS to install the $EXTENSION file into that directory
no matter what MODULEDIR is set to; a nondefault MODULEDIR should only
affect the script and secondary extension files.  Fix the control file
directory parameter to be interpreted relative to $SHAREDIR, to avoid a
surprising disconnect between how you specify that and what you set
MODULEDIR to.

Per discussion with David Wheeler.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/24d1280c4d75038f130495a25844c60d6810faab

Modified Files
--
doc/src/sgml/extend.sgml   |   27 ++--
doc/src/sgml/ref/create_extension.sgml |2 +-
src/backend/commands/extension.c   |9 +++
src/makefiles/pgxs.mk  |   35 ++-
4 files changed, 46 insertions(+), 27 deletions(-)


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