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

Commitaa4c702

Browse files
committed
Update /contrib for "autocommit TO 'on'".
Create objects in public schema.Make spacing/capitalization consistent.Remove transaction block use for object creation.Remove unneeded function GRANTs.
1 parentfb9bc34 commitaa4c702

File tree

91 files changed

+3607
-2720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+3607
-2720
lines changed

‎contrib/adddepend/adddepend

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/perl
2-
# $Id: adddepend,v 1.1 2002/09/1820:38:59 momjian Exp $
2+
# $Id: adddepend,v 1.2 2002/10/1818:41:19 momjian Exp $
33

44
# Project exists to assist PostgreSQL users with their structural upgrade
55
# from 7.2 (or prior) to 7.3 (possibly later). Must be run against a 7.3
@@ -125,6 +125,20 @@ my $dbh = DBI->connect($dsn, $dbuser, $dbpass);
125125
# We want to control commits
126126
$dbh->{'AutoCommit'} = 0;
127127

128+
# turn on autocommit
129+
my$sql =qq{
130+
SET search_path = public;
131+
};
132+
my$sth =$dbh->prepare($sql);
133+
$sth->execute();
134+
135+
# turn on autocommit
136+
my$sql2 =qq{
137+
SET autocommit TO 'on';
138+
};
139+
my$sth2 =$dbh->prepare($sql2);
140+
$sth2->execute();
141+
128142
END {
129143
$dbh->disconnect()if$dbh;
130144
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp