pgsql: Simplify signature of RewriteTable - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Simplify signature of RewriteTable
Date
Msg-id E1tVsQ1-000fCF-OC@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Simplify signature of RewriteTable

This function doesn't need the lockmode to be passed: it was being used
to lock the new heap, but that's bogus, because the only caller has
already obtained the appropriate lock on the new heap (which is
unimportant anyway, because the relation's creation is not yet committed
and so no other session can see it).

Noticed while reviewed Antonin Houska's patch to add VACUUM FULL
CONCURRENTLY.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ebd8fc7e47fdad6adb68aad341d95c541d7325c3

Modified Files
--------------
src/backend/commands/tablecmds.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: doc: Clarify synchronous_standby_names parameter.