diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-12-30 19:24:26 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-12-30 19:24:26 -0300 |
commit | c9105dd3660f4a801e6f87a1ed68189bd30576bf (patch) | |
tree | b0edaababb4d2a501670b28e971c9c15e8d0eb14 /src/backend/commands/tablecmds.c | |
parent | c7cf73eb7b9e7911748ebe117a7219f21e504121 (diff) | |
download | postgresql-c9105dd3660f4a801e6f87a1ed68189bd30576bf.tar.gz postgresql-c9105dd3660f4a801e6f87a1ed68189bd30576bf.zip |
Small cleanups related to PUBLICATION framework code
Discussion: https://postgr.es/m/202112302021.ca7ihogysgh3@alvherre.pgsql
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 45e59e3d5c6..3631b8a9298 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -40,8 +40,8 @@ #include "catalog/pg_inherits.h" #include "catalog/pg_namespace.h" #include "catalog/pg_opclass.h" -#include "catalog/pg_tablespace.h" #include "catalog/pg_statistic_ext.h" +#include "catalog/pg_tablespace.h" #include "catalog/pg_trigger.h" #include "catalog/pg_type.h" #include "catalog/storage.h" @@ -15626,7 +15626,6 @@ ATExecReplicaIdentity(Relation rel, ReplicaIdentityStmt *stmt, LOCKMODE lockmode else elog(ERROR, "unexpected identity type %u", stmt->identity_type); - /* Check that the index exists */ indexOid = get_relname_relid(stmt->name, rel->rd_rel->relnamespace); if (!OidIsValid(indexOid)) |