mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Todo items:
Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values Also updated create sequence docs to mention NO MINVALUE, & NO MAXVALUE. New Files: doc/src/sgml/ref/alter_sequence.sgml src/test/regress/expected/sequence.out src/test/regress/sql/sequence.sql ALTER SEQUENCE is NOT transactional. It behaves similarly to setval(). It matches the proposed SQL200N spec, as well as Oracle in most ways -- Oracle lacks RESTART WITH for some strange reason. -- Rod Taylor <rbt@rbt.ca>
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.317 2003/03/10 03:53:51 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.318 2003/03/20 07:02:10 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@ -1789,7 +1789,7 @@ PostgresMain(int argc, char *argv[], const char *username)
|
||||
if (!IsUnderPostmaster)
|
||||
{
|
||||
puts("\nPOSTGRES backend interactive interface ");
|
||||
puts("$Revision: 1.317 $ $Date: 2003/03/10 03:53:51 $\n");
|
||||
puts("$Revision: 1.318 $ $Date: 2003/03/20 07:02:10 $\n");
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2381,6 +2381,10 @@ CreateCommandTag(Node *parsetree)
|
||||
tag = "CREATE SEQUENCE";
|
||||
break;
|
||||
|
||||
case T_AlterSeqStmt:
|
||||
tag = "ALTER SEQUENCE";
|
||||
break;
|
||||
|
||||
case T_RemoveAggrStmt:
|
||||
tag = "DROP AGGREGATE";
|
||||
break;
|
||||
|
Reference in New Issue
Block a user