From 74d6fb0a037a7453693418e1069718a7f08ba31e Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 30 Nov 2020 10:26:43 +0200 Subject: [PATCH] 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 --- contrib/file_fdw/file_fdw.c | 3 --- src/backend/commands/copy.c | 1 - 2 files changed, 4 deletions(-) diff --git a/contrib/file_fdw/file_fdw.c b/contrib/file_fdw/file_fdw.c index fbcf7ca9c91..44acbac2f1a 100644 --- a/contrib/file_fdw/file_fdw.c +++ b/contrib/file_fdw/file_fdw.c @@ -723,9 +723,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/copy.c b/src/backend/commands/copy.c index 6d53dc463c1..48dc9414ac2 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -3629,7 +3629,6 @@ NextCopyFromRawFields(CopyState 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(CopyState cstate, ExprContext *econtext,