Skip to content

Commit

Permalink
Add back removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Jan 21, 2025
1 parent 67aecaa commit 1cb49ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vendor/pg_ruleutils_17.c
Original file line number Diff line number Diff line change
Expand Up @@ -6137,7 +6137,7 @@ get_target_list(List *targetList, deparse_context *context,
}

/* Show AS unless the column's name is correct as-is */
if (colname && !duckdb_skip_as)
if (colname && !duckdb_skip_as) /* resname could be NULL */
{
if (attname == NULL || strcmp(attname, colname) != 0)
appendStringInfo(&targetbuf, " AS %s", quote_identifier(colname));
Expand Down

0 comments on commit 1cb49ad

Please sign in to comment.