1
- /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.269 2004/01/04 14:49:06 meskes Exp $ */
1
+ /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.270 2004/01/21 14:09:34 meskes Exp $ */
2
2
3
3
/* Copyright comment */
4
4
%{
@@ -643,7 +643,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); }
643
643
/* | DeallocateStmt { output_statement($1, 0, connection); }*/
644
644
| DeclareCursorStmt { output_simple_statement($1 ); }
645
645
| DefineStmt { output_statement($1 , 0 , connection); }
646
- | DeleteStmt { output_statement($1 , 0 , connection); }
646
+ | DeleteStmt { output_statement($1 , 1 , connection); }
647
647
| DropAssertStmt { output_statement($1 , 0 , connection); }
648
648
| DropCastStmt { output_statement($1 , 0 , connection); }
649
649
| DropGroupStmt { output_statement($1 , 0 , connection); }
@@ -659,7 +659,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); }
659
659
| FetchStmt { output_statement($1 , 1 , connection); }
660
660
| GrantStmt { output_statement($1 , 0 , connection); }
661
661
| IndexStmt { output_statement($1 , 0 , connection); }
662
- | InsertStmt { output_statement($1 , 0 , connection); }
662
+ | InsertStmt { output_statement($1 , 1 , connection); }
663
663
| ListenStmt { output_statement($1 , 0 , connection); }
664
664
| LoadStmt { output_statement($1 , 0 , connection); }
665
665
| LockStmt { output_statement($1 , 0 , connection); }
@@ -672,7 +672,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); }
672
672
| RenameStmt { output_statement($1 , 0 , connection); }
673
673
| RevokeStmt { output_statement($1 , 0 , connection); }
674
674
| RuleStmt { output_statement($1 , 0 , connection); }
675
- | SelectStmt { output_statement($1 , 0 , connection); }
675
+ | SelectStmt { output_statement($1 , 1 , connection); }
676
676
| TransactionStmt
677
677
{
678
678
fprintf (yyout, " { ECPGtrans(__LINE__, %s, \" %s\" );" , connection ? connection : " NULL" , $1 );
@@ -681,7 +681,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); }
681
681
}
682
682
| TruncateStmt { output_statement($1 , 0 , connection); }
683
683
| UnlistenStmt { output_statement($1 , 0 , connection); }
684
- | UpdateStmt { output_statement($1 , 0 , connection); }
684
+ | UpdateStmt { output_statement($1 , 1 , connection); }
685
685
| VacuumStmt { output_statement($1 , 0 , connection); }
686
686
| VariableSetStmt { output_statement($1 , 0 , connection); }
687
687
| VariableShowStmt { output_statement($1 , 0 , connection); }
0 commit comments