diff options
author | Fujii Masao <fujii@postgresql.org> | 2019-11-06 12:54:17 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2019-11-06 12:54:17 +0900 |
commit | 979766c0afceb95c4b96323b57a0f6edf8472612 (patch) | |
tree | e6b191b9c628db7dde4d3267b72b0cb1b23910dd /src/backend/access/gist/gistxlog.c | |
parent | a386942bd29b0ef0c9df061392659880d22cdf43 (diff) | |
download | postgresql-979766c0afceb95c4b96323b57a0f6edf8472612.tar.gz postgresql-979766c0afceb95c4b96323b57a0f6edf8472612.zip |
Correct the command tags for ALTER ... RENAME COLUMN.
Previously ALTER MATERIALIZED VIEW / FOREIGN TABLE ... RENAME COLUMN ...
returned "ALTER TABLE" as a command tag. This commit fixes them so that
they return "ALTER MATERIALIZED VIEW" and "ALTER FOREIGN TABLE" as
command tags, respectively.
This issue exists in all supported versions, but we don't back-patch this
because it's not enough of a bug to justify taking any compatibility risks for.
Otherwise, the back-patch would cause minor version update to break,
for example, the existing event trigger functions using TG_TAG.
Author: Fujii Masao
Reviewed-by: Ibrar Ahmed
Discussion: https://postgr.es/m/CAHGQGwGUaC03FFdTFoHsCuDrrNvFvNVQ6xyd40==P25WvuBJjg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions