From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | ALTER TABLESPACE MOVE command tag tweak |
Date: | 2014-06-13 18:37:38 |
Message-ID: | 20140613183738.GO18688@eldon.alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
The ALTER TABLESPACE MOVE command affects tables, not tablespaces; and
as such, I think event triggers should support that command. I'm not
proposing to change event triggers at this stage, but since IMO we will
want to do that in 9.5, we need it to have a different command tag than
plain ALTER TABLESPACE. This is so that check_ddl_tag() can compare
the tag with ALTER TABLESPACE and say "unsupported", and ALTER
TABLESPACE MOVE and say "supported". Both are currently spelled the
same, which will be a problem.
Therefore I propose the attached patch for 9.4.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachment | Content-Type | Size |
---|---|---|
tblspc-move-tag.patch | text/x-diff | 378 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Shreesha | 2014-06-13 18:54:48 | Re: How to change the pgsql source code and build it?? |
Previous Message | Tom Lane | 2014-06-13 17:46:38 | Re: Clarification of FDW API Documentation |