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

Commit09f3175

Browse files
committed
Fix for BEGIN with ISOLATION/READONLY clauses.
Fix for code originally added for 7.5.
1 parent3133835 commit09f3175

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

‎src/backend/tcop/utility.c

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.211 2004/03/23 19:35:17 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.212 2004/04/19 21:21:33 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -302,15 +302,12 @@ ProcessUtility(Node *parsetree,
302302

303303
switch (stmt->kind)
304304
{
305+
/*
306+
* START TRANSACTION, as defined by SQL99:
307+
* Identical to BEGIN, except that it takes a few
308+
* additional options. Same code for both.
309+
*/
305310
caseTRANS_STMT_BEGIN:
306-
BeginTransactionBlock();
307-
break;
308-
309-
/*
310-
* START TRANSACTION, as defined by SQL99:
311-
* Identical to BEGIN, except that it takes a few
312-
* additional options.
313-
*/
314311
caseTRANS_STMT_START:
315312
{
316313
BeginTransactionBlock();

‎src/backend/utils/misc/guc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.199 2004/04/07 18:52:26 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.200 2004/04/19 21:21:34 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -3394,6 +3394,8 @@ void
33943394
SetPGVariable(constchar*name,List*args,boolis_local)
33953395
{
33963396
char*argstring=flatten_set_variable_args(name,args);
3397+
printf("bjm: %s %s\n",name,argstring);
3398+
fflush(stdout);
33973399

33983400
/* Note SET DEFAULT (argstring == NULL) is equivalent to RESET */
33993401
set_config_option(name,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp