SQL:2008 CURRENT_CATALOG and CURRENT_SCHEMA

Started by Peter Eisentrautover 17 years ago1 messageshackers
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Here is another patch for relatively redundant SQL:2008 functionality.
They standardized in CURRENT_CATALOG and CURRENT_SCHEMA (without
parentheses, as usual) for what we have as current_database() and
current_schema(). They also added SET CATALOG and SET SCHEMA. SET
CATALOG won't work in PostgreSQL, and SET SCHEMA is a subset of SET
search_path.

Attachments:

sql2008-current-catalog-schema.difftext/plain; name=sql2008-current-catalog-schema.diff; x-mac-creator=0; x-mac-type=0Download+90-9