Change comment regarding functions returning composite

Relevant PG commit:
c2fa113ddb1117b1f03e91960f65d5d7d8a90270
boolean_node
naisila 2022-07-25 22:35:52 +03:00
parent d7572ab58d
commit e5550fe990
1 changed files with 3 additions and 3 deletions

View File

@ -4037,9 +4037,9 @@ get_variable(Var *var, int levelsup, bool istoplevel, deparse_context *context)
/*
* If we find a Var referencing a dropped column, it seems better to
* print something (anything) than to fail. In general this should
* not happen, but there are specific cases involving functions
* returning named composite types where we don't sufficiently enforce
* that you can't drop a column that's referenced in some view.
* not happen, but it used to be possible for some cases involving
* functions returning named composite types, and perhaps there are
* still bugs out there.
*/
if (attname == NULL)
attname = "?dropped?column?";