diff options
| author | Michael P | 2011-03-10 01:21:19 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2011-05-24 09:37:43 +0000 |
| commit | 6c9638d7f6a65affb70813ee74220744c4e18d56 (patch) | |
| tree | 870890a1ac8fa5c0aeb0290103742656b0bbea55 /src | |
| parent | 7bc7601b37435d81b945fd89d71e8a3b1ccea05f (diff) | |
Block SERIAL sequences
XC does not support yet serial sequences when creating tables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/backend/parser/parse_utilcmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c index dbe59fe73c..d73767752d 100644 --- a/src/backend/parser/parse_utilcmd.c +++ b/src/backend/parser/parse_utilcmd.c @@ -363,6 +363,13 @@ transformColumnDefinition(ParseState *pstate, CreateStmtContext *cxt, AlterSeqStmt *altseqstmt; List *attnamelist; +#ifdef PGXC + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("Postgres-XC does not support SERIAL yet"), + errdetail("The feature is not currently supported"))); +#endif + /* * Determine namespace and name to use for the sequence. * |
