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

Commitc8996f9

Browse files
author
Michael Meskes
committed
- Synced yet again.
- Fixed a typo in a comment printed by ecpg.
1 parent25dfba3 commitc8996f9

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

‎src/interfaces/ecpg/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,11 @@ Mon Apr 22 20:44:56 CEST 2002
12421242

12431243
- Synced preproc.y with gram.y.
12441244
- Synced keywords.c.
1245+
1246+
Sun Apr 28 19:16:40 CEST 2002
1247+
1248+
- Synced preproc.y with gram.y.
1249+
- Fixed typo in comment printed by ecpg.
12451250
- Set ecpg version to 2.10.0.
12461251
- Set library version to 3.4.0.
12471252

‎src/interfaces/ecpg/preproc/ecpg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.55 2002/03/21 18:28:07 tgl Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.56 2002/04/28 17:20:03 meskes Exp $ */
22

33
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
44
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
@@ -303,7 +303,7 @@ main(int argc, char *const argv[])
303303
lex_init();
304304

305305
/* we need several includes */
306-
fprintf(yyout,"/* Processed by ecpg (%d.%d.%d) */\n/* Thesethree include files are added by the preprocessor */\n#include <ecpgtype.h>\n#include <ecpglib.h>\n#include <ecpgerrno.h>\n#include <sqlca.h>\n#line 1 \"%s\"\n",MAJOR_VERSION,MINOR_VERSION,PATCHLEVEL,input_filename);
306+
fprintf(yyout,"/* Processed by ecpg (%d.%d.%d) */\n/* Thesefour include files are added by the preprocessor */\n#include <ecpgtype.h>\n#include <ecpglib.h>\n#include <ecpgerrno.h>\n#include <sqlca.h>\n#line 1 \"%s\"\n",MAJOR_VERSION,MINOR_VERSION,PATCHLEVEL,input_filename);
307307

308308
/* and parse the source */
309309
yyparse();

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,6 +1935,8 @@ opt_force: FORCE{ $$ = make_str("force"); }
19351935

19361936
RenameStmt:ALTERTABLErelation_exprRENAMEopt_columnopt_nameTOname
19371937
{$$ = cat_str(7, make_str("alter table"),$3, make_str("rename"),$5,$6, make_str("to"),$8); }
1938+
|ALTERTRIGGERnameONrelation_exprRENAMETOname
1939+
{$$ = cat_str(6, make_str("alter trigger"),$3, make_str("on"),$5, make_str("rename to"),$8); }
19381940
;
19391941

19401942
opt_name:name{$$ =$1; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp