mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Add TEMPORARY sequences and have SERIAL on a temp table have a temporary
sequence.
This commit is contained in:
@@ -1289,9 +1289,9 @@ CreateAsElement: ColId { $$ = $1; }
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
CreateSeqStmt: CREATE SEQUENCE relation_name OptSeqList
|
||||
CreateSeqStmt: CREATE OptTemp SEQUENCE relation_name OptSeqList
|
||||
{
|
||||
$$ = cat_str(3, make_str("create sequence"), $3, $4);
|
||||
$$ = cat_str(4, make_str("create sequence"), $2, $4, $5);
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user