]> granicus.if.org Git - postgresql/commit
Support comments on FOREIGN DATA WRAPPER and SERVER objects.
authorRobert Haas <rhaas@postgresql.org>
Fri, 1 Apr 2011 15:28:28 +0000 (11:28 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 1 Apr 2011 15:28:28 +0000 (11:28 -0400)
commit50533a6dc515cc3182f52838275c9d2a1f587604
tree16489ffa766ce9d3134888d11466c228dbf8d49c
parent7fcc75dd26ff0fee0b02f1b8b4215c298ca974ca
Support comments on FOREIGN DATA WRAPPER and SERVER objects.

This mostly involves making it work with the objectaddress.c framework,
which does most of the heavy lifting.  In that vein, change
GetForeignDataWrapperOidByName to get_foreign_data_wrapper_oid and
GetForeignServerOidByName to get_foreign_server_oid, to match the
pattern we use for other object types.

Robert Haas and Shigeru Hanada
doc/src/sgml/ref/comment.sgml
src/backend/catalog/aclchk.c
src/backend/catalog/objectaddress.c
src/backend/commands/foreigncmds.c
src/backend/foreign/foreign.c
src/backend/parser/gram.y
src/backend/utils/adt/acl.c
src/include/foreign/foreign.h
src/include/utils/acl.h
src/test/regress/expected/foreign_data.out
src/test/regress/sql/foreign_data.sql