File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/backend/access/transam Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ # This script assumes that it is placed in postgres repository root,
4
+ # and postgres configured with --prefix=$PG_REPO_ROOT/install
5
+
3
6
reinit_master () {
4
7
rm -rf install/data
5
8
@@ -18,7 +21,7 @@ reinit_master() {
18
21
19
22
echo ' ---- test ----' >> ./install/logfile
20
23
21
- echo ' local replication stas trust' >> ./install/data/pg_hba.conf
24
+ echo " local replication ` whoami ` trust" >> ./install/data/pg_hba.conf
22
25
23
26
./install/bin/pg_ctl -sw -D ./install/data -l ./install/logfile start
24
27
}
@@ -41,7 +44,7 @@ reinit_slave() {
41
44
}
42
45
43
46
postinit (){
44
- ./install/bin/createdb stas
47
+ ./install/bin/createdb ` whoami `
45
48
./install/bin/psql -c " create table t(id int);"
46
49
}
47
50
Original file line number Diff line number Diff line change @@ -1665,6 +1665,11 @@ XlogRedoFinishPrepared(TransactionId xid)
1665
1665
ProcArrayRemove (proc , latestXid );
1666
1666
gxact -> valid = false;
1667
1667
1668
+ /*
1669
+ * 2REVIEWER: I assume that we can skip invalidation callbacks here,
1670
+ * aren't we?
1671
+ */
1672
+
1668
1673
/* And release locks */
1669
1674
if (true)
1670
1675
ProcessRecords (bufptr , xid , twophase_postcommit_callbacks );
You can’t perform that action at this time.
0 commit comments