For COMMENT ON DATABASE where database name is unknown or not the current

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0c172909d567cdf95df1d920a4d9be4cf36dfc23
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-07-17T20:13:57Z
Releases: 7.4.1
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.

Files

PathChange+/−
src/backend/commands/comment.c modified +25 −7