Re: pgsql-server/src/backend/commands comment.c

Поиск
Список
Период
Сортировка
Искать

Re: pgsql-server/src/backend/commands comment.c

От:
Rod Taylor <rbt@rbt.ca>
Дата:
> 	For COMMENT ON DATABASE where database name is unknown or not the current
> 	database, emit a WARNING and do nothing, rather than raising ERROR.
> 	Per recent discussion in which we concluded this is the best way to deal
> 	with database dumps that are reloaded into a database of a new name.

Please add a TODO note about allowing COMMENT ON DATABASE to function
without providing a database name at all.

Re: pgsql-server/src/backend/commands comment.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Added to TODO:
* Prevent COMMENT ON DATABASE from using a database name


---------------------------------------------------------------------------

Rod Taylor wrote:
-- Start of PGP signed section.
> > 	For COMMENT ON DATABASE where database name is unknown or not the current
> > 	database, emit a WARNING and do nothing, rather than raising ERROR.
> > 	Per recent discussion in which we concluded this is the best way to deal
> > 	with database dumps that are reloaded into a database of a new name.
> 
> Please add a TODO note about allowing COMMENT ON DATABASE to function
> without providing a database name at all.
-- End of PGP section, PGP failed!

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610) 359-1001 +  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

FAQ