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

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

Commit: 19de9d2fee9ea6939f8ed1cd7e52e190d3197ba4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-07-17T20:14:09Z
Releases: 7.3.4
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