diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-02-11 21:25:20 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-02-11 21:25:57 -0500 |
commit | 1214749901fc3c66732cfd9f276b989635c01360 (patch) | |
tree | 8c2fa16c2ac4a79cb0408b982b85de7d7c960bbf /src/include/nodes/parsenodes.h | |
parent | 60141eefaf28e4ff5e406952740423dd6fd16266 (diff) |
Add support for multiple versions of an extension and ALTER EXTENSION UPDATE.
This follows recent discussions, so it's quite a bit different from
Dimitri's original. There will probably be more changes once we get a bit
of experience with it, but let's get it in and start playing with it.
This is still just core code. I'll start converting contrib modules
shortly.
Dimitri Fontaine and Tom Lane
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index b54f0cfe02f..1aa3e913b54 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -1546,6 +1546,14 @@ typedef struct CreateExtensionStmt List *options; /* List of DefElem nodes */ } CreateExtensionStmt; +/* Only used for ALTER EXTENSION UPDATE; later might need an action field */ +typedef struct AlterExtensionStmt +{ + NodeTag type; + char *extname; + List *options; /* List of DefElem nodes */ +} AlterExtensionStmt; + typedef struct AlterExtensionContentsStmt { NodeTag type; |