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

Commitfae2f14

Browse files
committed
It looks like the problem was introduced when the "SET autocommit" and
"SET search_path" commands were added to the beginning of the script.The attatched patch should fix the problem. It probably should beapplied against the 7.3 and 7.4 branches.Steven Singer
1 parentec0a5b9 commitfae2f14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎contrib/dbmirror/DBMirror.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#
3434
#
3535
##############################################################################
36-
# $Id: DBMirror.pl,v 1.4 2002/11/06 17:50:53 momjian Exp $
36+
# $Id: DBMirror.pl,v 1.5 2002/12/05 21:03:51 momjian Exp $
3737
#
3838
##############################################################################
3939

@@ -128,7 +128,7 @@ ()
128128

129129
my$setQuery;
130130
$setQuery ="SET search_path = public";
131-
$setResult =$masterConn->exec($setQuery);
131+
my$setResult =$masterConn->exec($setQuery);
132132
if($setResult->resultStatus!=PGRES_COMMAND_OK) {
133133
logErrorMessage($masterConn->errorMessage ."\n" .
134134
$setQuery);
@@ -137,7 +137,7 @@ ()
137137

138138
my$setQuery2;
139139
$setQuery2 ="SET autocommit TO 'on'";
140-
$setResult2 =$masterConn->exec($setQuery2);
140+
my$setResult2 =$masterConn->exec($setQuery2);
141141
if($setResult2->resultStatus!=PGRES_COMMAND_OK) {
142142
logErrorMessage($masterConn->errorMessage ."\n" .
143143
$setQuery2);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp