mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
code: replace most remaining uses of 'master'.
Author: Andres Freund Reviewed-By: David Steele Discussion: https://postgr.es/m/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de
This commit is contained in:
@@ -1897,7 +1897,7 @@ vacuum_rel(Oid relid, RangeVar *relation, VacuumParams *params)
|
||||
|
||||
/*
|
||||
* If the relation has a secondary toast rel, vacuum that too while we
|
||||
* still hold the session lock on the master table. Note however that
|
||||
* still hold the session lock on the main table. Note however that
|
||||
* "analyze" will not get done on the toast table. This is good, because
|
||||
* the toaster always uses hardcoded index access and statistics are
|
||||
* totally unimportant for toast relations.
|
||||
@@ -1906,7 +1906,7 @@ vacuum_rel(Oid relid, RangeVar *relation, VacuumParams *params)
|
||||
vacuum_rel(toast_relid, NULL, params);
|
||||
|
||||
/*
|
||||
* Now release the session-level lock on the master table.
|
||||
* Now release the session-level lock on the main table.
|
||||
*/
|
||||
UnlockRelationIdForSession(&onerelid, lmode);
|
||||
|
||||
|
Reference in New Issue
Block a user