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

Commitb9c7b0a

Browse files
committed
Fix DOMAIN breakage.
1 parentbc2b786 commitb9c7b0a

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

‎src/backend/parser/gram.y

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.292 2002/03/1902:18:18 momjian Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.293 2002/03/1912:52:20 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -3184,6 +3184,14 @@ createdb_opt_item: LOCATION opt_equal Sconst
31843184
{
31853185
$$ = lconsi(3, makeListi1(-1));
31863186
}
3187+
|OWNERopt_equalname
3188+
{
3189+
$$ = lconsi(4, makeList1($3));
3190+
}
3191+
|OWNERopt_equalDEFAULT
3192+
{
3193+
$$ = lconsi(4, makeList1(NULL));
3194+
}
31873195
;
31883196

31893197

@@ -3200,14 +3208,6 @@ DropdbStmt:DROP DATABASE database_name
32003208
n->dbname =$3;
32013209
$$ = (Node *)n;
32023210
}
3203-
|OWNERopt_equalname
3204-
{
3205-
$$ = lconsi(4, makeList1($3));
3206-
}
3207-
|OWNERopt_equalDEFAULT
3208-
{
3209-
$$ = lconsi(4, makeList1(NULL));
3210-
}
32113211
;
32123212

32133213
/*

‎src/backend/tcop/postgres.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.255 2002/03/1902:18:20 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.256 2002/03/1912:52:22 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -1722,7 +1722,7 @@ PostgresMain(int argc, char *argv[], const char *username)
17221722
if (!IsUnderPostmaster)
17231723
{
17241724
puts("\nPOSTGRES backend interactive interface ");
1725-
puts("$Revision: 1.255 $ $Date: 2002/03/1902:18:20 $\n");
1725+
puts("$Revision: 1.256 $ $Date: 2002/03/1912:52:22 $\n");
17261726
}
17271727

17281728
/*
@@ -2213,8 +2213,11 @@ CreateCommandTag(Node *parsetree)
22132213
break;
22142214

22152215
caseT_CreateDomainStmt:
2216+
tag="CREATE";/* CREATE DOMAIN */
2217+
break;
2218+
22162219
caseT_CreateStmt:
2217-
tag="CREATE DOMAIN";
2220+
tag="CREATE";
22182221
break;
22192222

22202223
caseT_DropStmt:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp