Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1211918

Browse files
author
Neil Conway
committed
Revert some careless search-and-replace: "ADD" in comment text should
not be replaced with "ADD_P".
1 parentbe6187e commit1211918

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎src/backend/parser/gram.y

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.520 2005/12/28 01:30:00 tgl Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.521 2005/12/29 04:53:18 neilc Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -1304,7 +1304,7 @@ alter_table_cmds:
13041304

13051305
/* Subcommands that are for ALTER TABLE only*/
13061306
alter_table_cmd:
1307-
/* ALTER TABLE <relation>ADD_P [COLUMN] <coldef>*/
1307+
/* ALTER TABLE <relation>ADD [COLUMN] <coldef>*/
13081308
ADD_Popt_columncolumnDef
13091309
{
13101310
AlterTableCmd *n = makeNode(AlterTableCmd);
@@ -1377,7 +1377,7 @@ alter_table_cmd:
13771377
n->transform =$6;
13781378
$$ = (Node *)n;
13791379
}
1380-
/* ALTER TABLE <relation>ADD_P CONSTRAINT ...*/
1380+
/* ALTER TABLE <relation>ADD CONSTRAINT ...*/
13811381
|ADD_PTableConstraint
13821382
{
13831383
AlterTableCmd *n = makeNode(AlterTableCmd);
@@ -4767,7 +4767,7 @@ AlterDomainStmt:
47674767
n->typename =$3;
47684768
$$ = (Node *)n;
47694769
}
4770-
/* ALTER DOMAIN <domain>ADD_P CONSTRAINT ...*/
4770+
/* ALTER DOMAIN <domain>ADD CONSTRAINT ...*/
47714771
| ALTER DOMAIN_P any_name ADD_P TableConstraint
47724772
{
47734773
AlterDomainStmt *n = makeNode(AlterDomainStmt);

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.314 2005/12/27 04:00:08 momjian Exp $*/
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.315 2005/12/29 04:53:18 neilc Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -1245,7 +1245,7 @@ alter_table_cmds:
12451245

12461246
alter_table_cmd:
12471247
ADD_Popt_columncolumnDef
1248-
/* ALTER TABLE <relation>ADD_P [COLUMN] <coldef>*/
1248+
/* ALTER TABLE <relation>ADD [COLUMN] <coldef>*/
12491249
{$$ = cat_str(3, make_str("add"),$2,$3); }
12501250
/* ALTER TABLE <relation> ALTER [COLUMN] <colname> {SET DEFAULT <expr>|DROP DEFAULT}*/
12511251
|ALTERopt_columnColIdalter_column_default
@@ -1268,7 +1268,7 @@ alter_table_cmd:
12681268
/* ALTER TABLE <relation> ALTER [COLUMN] <colname> TYPE <typename> [ USING <expression> ]*/
12691269
|ALTERopt_columnColIdTYPE_PTypenamealter_using
12701270
{$$ = cat_str(6, make_str("alter"),$2,$3, make_str("type"),$5,$6); }
1271-
/* ALTER TABLE <relation>ADD_P CONSTRAINT ...*/
1271+
/* ALTER TABLE <relation>ADD CONSTRAINT ...*/
12721272
|ADD_PTableConstraint
12731273
{$$ = cat_str(2, make_str("add"),$2); }
12741274
/* ALTER TABLE <relation> DROP CONSTRAINT ...*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp