Couple of schema queries...

Started by Dave Pagealmost 24 years ago2 messageshackers
Jump to latest
#1Dave Page
dpage@pgadmin.org

Hi,

I'm currently updating pgAdmin to support schemas and have a couple of
(well three) questions:

1) How can I specify the schema in CREATE OPERATOR?
'OPERATOR(pg_catalog.+)' notation gives an error :-(

2) There are default comments for the system schemas in pg_description,
but COMMENT ON SCHEMA isn't implemented. Is it safe to assume it will be
before 7.3?

3) Likewise, Tom stated that DROP SCHEMA isn't yet implemented - is it
safe for me to assume that it will be before release?

And whilst I'm writing, many thanks for the hard work you've put into
this Tom.

Regards, Dave.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dave Page (#1)
Re: Couple of schema queries...

"Dave Page" <dpage@vale-housing.co.uk> writes:

1) How can I specify the schema in CREATE OPERATOR?
'OPERATOR(pg_catalog.+)' notation gives an error :-(

You don't need the OPERATOR() decoration there, only in expressions.
(Yes, the documentation is still skimpy.)

2) There are default comments for the system schemas in pg_description,
but COMMENT ON SCHEMA isn't implemented. Is it safe to assume it will be
before 7.3?

It should be.

3) Likewise, Tom stated that DROP SCHEMA isn't yet implemented - is it
safe for me to assume that it will be before release?

It will be.

regards, tom lane