Replace spurious strdup with pstrdup

pull/7440/head
Marco Slot 2024-01-23 11:03:02 +01:00
parent ee11492a0e
commit d7ac7a8dd7
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ CreateTargetEntryForColumn(Form_pg_attribute attributeTuple, Index rteIndex,
attributeTuple->atttypmod, attributeTuple->attcollation, 0);
TargetEntry *targetEntry =
makeTargetEntry((Expr *) targetColumn, resno,
strdup(attributeTuple->attname.data), false);
pstrdup(attributeTuple->attname.data), false);
return targetEntry;
}