diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-01-04 14:34:18 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-01-04 14:34:18 -0300 |
commit | df5be63763f82c5cd1b7f8af702b2e20f7d282aa (patch) | |
tree | 64ab7528db0a633affb4ffddfd99257bf8956904 /src/backend/commands/tablecmds.c | |
parent | 4879a5172af01dc05b6350dfa97ea1ac9a4c603c (diff) | |
download | postgresql-df5be63763f82c5cd1b7f8af702b2e20f7d282aa.tar.gz postgresql-df5be63763f82c5cd1b7f8af702b2e20f7d282aa.zip |
Rename macro to RELKIND_HAS_STORAGE
The original name was an unfortunate choice.
Discussion: https://postgr.es/m/20181218.145600.172055615.horiguchi.kyotaro@lab.ntt.co.jp
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r-- | src/backend/commands/tablecmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index e1af2c44953..c75c5808ba1 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -11003,7 +11003,7 @@ ATExecSetTableSpaceNoStorage(Relation rel, Oid newTableSpace) * Shouldn't be called on relations having storage; these are processed * in phase 3. */ - Assert(!RELKIND_CAN_HAVE_STORAGE(rel->rd_rel->relkind)); + Assert(!RELKIND_HAS_STORAGE(rel->rd_rel->relkind)); /* Can't allow a non-shared relation in pg_global */ if (newTableSpace == GLOBALTABLESPACE_OID) |