Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
928250ae
Commit
928250ae
authored
Mar 18, 2017
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix schedule of ecpg test files to only try two-phase commit test when possible.
parent
f7819baa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
src/interfaces/ecpg/test/Makefile
src/interfaces/ecpg/test/Makefile
+12
-1
src/interfaces/ecpg/test/ecpg_schedule
src/interfaces/ecpg/test/ecpg_schedule
+0
-1
No files found.
src/interfaces/ecpg/test/Makefile
View file @
928250ae
...
...
@@ -78,7 +78,7 @@ endif
REGRESS_OPTS
=
--dbname
=
ecpg1_regression,ecpg2_regression
--create-role
=
regress_ecpg_user1,regress_ecpg_user2
$(EXTRA_REGRESS_OPTS)
check
:
all
$(with_temp_install)
./pg_regress
$(REGRESS_OPTS)
--temp-instance
=
./tmp_check
$(TEMP_CONF)
--bindir
=
$(pg_regress_locale_flags)
$(THREAD)
--schedule
=
$(srcdir)
/ecpg_schedule
$(with_temp_install)
./pg_regress
$(REGRESS_OPTS)
--temp-instance
=
./tmp_check
$(TEMP_CONF)
--bindir
=
$(pg_regress_locale_flags)
$(THREAD)
--schedule
=
$(srcdir)
/ecpg_schedule
sql/twophase
# the same options, but with --listen-on-tcp
checktcp
:
all
...
...
@@ -86,3 +86,14 @@ checktcp: all
installcheck
:
all
./pg_regress
$(REGRESS_OPTS)
--bindir
=
'
$(bindir)
'
$(pg_regress_locale_flags)
$(THREAD)
--schedule
=
$(srcdir)
/ecpg_schedule
# Versions of the check tests that include the twophase commit test.
# It only makes sense to run these if set up to use prepared transactions,
# via TEMP_CONFIG for the check case, or via the postgresql.conf for the
# installcheck case.
installcheck-prepared-txns
:
all
./pg_regress
$(REGRESS_OPTS)
--bindir
=
'
$(bindir)
'
$(pg_regress_locale_flags)
$(THREAD)
--schedule
=
$(srcdir)
/ecpg_schedule sql/twophase
check-prepared-txns
:
all
$(with_temp_install)
./pg_regress
$(REGRESS_OPTS)
--temp-instance
=
./tmp_check
$(TEMP_CONF)
--bindir
=
$(pg_regress_locale_flags)
$(THREAD)
--schedule
=
$(srcdir)
/ecpg_schedule sql/twophase
src/interfaces/ecpg/test/ecpg_schedule
View file @
928250ae
...
...
@@ -46,7 +46,6 @@ test: sql/indicators
test: sql/oldexec
test: sql/quote
test: sql/show
test: sql/twophase
test: sql/insupd
test: sql/parser
test: thread/thread
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment