From: Heikki Linnakangas Date: Mon, 30 Nov 2020 08:26:43 +0000 (+0200) Subject: Remove leftover comments, left behind by removal of WITH OIDS. X-Git-Tag: REL_14_BETA1~1191 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=2bc588798bdd0cdaa8f6cb6713ba8c8cc039fcb1;p=postgresql.git Remove leftover comments, left behind by removal of WITH OIDS. Author: Amit Langote Discussion: https://www.postgresql.org/message-id/CA%2BHiwqGaRoF3XrhPW-Y7P%2BG7bKo84Z_h%3DkQHvMh-80%3Dav3wmOw%40mail.gmail.com --- diff --git a/contrib/file_fdw/file_fdw.c b/contrib/file_fdw/file_fdw.c index 994b90d6b4e..9863e327480 100644 --- a/contrib/file_fdw/file_fdw.c +++ b/contrib/file_fdw/file_fdw.c @@ -724,9 +724,6 @@ fileIterateForeignScan(ForeignScanState *node) * * We can pass ExprContext = NULL because we read all columns from the * file, so no need to evaluate default expressions. - * - * We can also pass tupleOid = NULL because we don't allow oids for - * foreign tables. */ ExecClearTuple(slot); found = NextCopyFrom(festate->cstate, NULL, diff --git a/src/backend/commands/copyfromparse.c b/src/backend/commands/copyfromparse.c index b7a37bcdbdf..34ed3cfcd5b 100644 --- a/src/backend/commands/copyfromparse.c +++ b/src/backend/commands/copyfromparse.c @@ -496,7 +496,6 @@ NextCopyFromRawFields(CopyFromState cstate, char ***fields, int *nfields) * * 'values' and 'nulls' arrays must be the same length as columns of the * relation passed to BeginCopyFrom. This function fills the arrays. - * Oid of the tuple is returned with 'tupleOid' separately. */ bool NextCopyFrom(CopyFromState cstate, ExprContext *econtext,