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

Commita0de6e7

Browse files
committed
Specifying a dbname should override the default database, not add to it.
Fixes buildfarm failures on contribcheck.
1 parent8c0d308 commita0de6e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.34 2007/06/12 13:26:45 mha Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.35 2007/06/12 13:54:58 mha Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -1794,6 +1794,10 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
17941794
printf("pg_regress (PostgreSQL %s)\n",PG_VERSION);
17951795
exit_nicely(0);
17961796
case1:
1797+
/* If a default database was specified, we need to remove it before we add
1798+
* the specified one.
1799+
*/
1800+
free_stringlist(&dblist);
17971801
split_to_stringlist(strdup(optarg),", ",&dblist);
17981802
break;
17991803
case2:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp