Hi, I found an incorrect comment in contrib/postgres_fdw/deparse.c: s/FOR SELECT or FOR SHARE/FOR UPDATE or FOR SHARE/ Attached is a patch to fix that comment.
Best regards, Etsuro Fujita
diff --git a/contrib/postgres_fdw/deparse.c b/contrib/postgres_fdw/deparse.c index bdc410d..d78ac79 100644 --- a/contrib/postgres_fdw/deparse.c +++ b/contrib/postgres_fdw/deparse.c @@ -937,7 +937,7 @@ deparseTargetList(StringInfo buf, } /* - * Deparse the appropriate locking clause (FOR SELECT or FOR SHARE) for a + * Deparse the appropriate locking clause (FOR UPDATE or FOR SHARE) for a * given relation (context->foreignrel). */ static void
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers