forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit979766c
committed
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 thatthey return "ALTER MATERIALIZED VIEW" and "ALTER FOREIGN TABLE" ascommand tags, respectively.This issue exists in all supported versions, but we don't back-patch thisbecause 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 MasaoReviewed-by: Ibrar AhmedDiscussion:https://postgr.es/m/CAHGQGwGUaC03FFdTFoHsCuDrrNvFvNVQ6xyd40==P25WvuBJjg@mail.gmail.com1 parenta386942 commit979766c
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2399 | 2399 |
| |
2400 | 2400 |
| |
2401 | 2401 |
| |
2402 |
| - | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
2403 | 2410 |
| |
2404 | 2411 |
| |
2405 | 2412 |
| |
|
0 commit comments
Comments
(0)