forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd1d3886
committed
Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS.
The previous coding resulted in contrib modules unintentionally overridingthe use of CONTRIB_TESTDB. There seems no particularly good reason toallow that (after all, the makefile can set CONTRIB_TESTDB if that's reallywhat it intends).In passing, document REGRESS_OPTS where the other pgxs.mk options aredocumented.Back-patch to 9.1 --- in prior versions, there were no cases of contribmodules setting REGRESS_OPTS without including the --dbname switch, sowhile the coding was fragile there was no actual bug.1 parent4803de6 commitd1d3886
File tree
3 files changed
+15
-5
lines changed- contrib/sepgsql
- doc/src/sgml
- src/makefiles
3 files changed
+15
-5
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
| 10 | + | |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
| |||
20 | 23 |
| |
21 | 24 |
| |
22 | 25 |
| |
23 |
| - | |
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1049 | 1049 |
| |
1050 | 1050 |
| |
1051 | 1051 |
| |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1052 | 1061 |
| |
1053 | 1062 |
| |
1054 | 1063 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
225 | 226 |
| |
226 | 227 |
| |
227 | 228 |
| |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
| 229 | + | |
| 230 | + | |
232 | 231 |
| |
233 | 232 |
| |
234 | 233 |
| |
|
0 commit comments
Comments
(0)