For COMMENT ON DATABASE where database name is unknown or not the current
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/comment.c | modified | +25 −7 |