pgsql: Simplify signature of RewriteTable

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема pgsql: Simplify signature of RewriteTable
Дата
Msg-id E1tVsQ1-000fCF-OC@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: