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

Commit39bed3b

Browse files
committed
Standalone backends need pgstat_bestart() too, per Qingqing Zhou.
1 parenta560657 commit39bed3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/init/postinit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.167 2006/05/04 18:51:36 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.168 2006/06/22 14:36:12 tgl Exp $
1212
*
1313
*
1414
*-------------------------------------------------------------------------
@@ -522,7 +522,7 @@ InitPostgres(const char *dbname, const char *username)
522522
InitializeClientEncoding();
523523

524524
/* initialize statistics collection for this backend */
525-
if (IsUnderPostmaster)
525+
if (!bootstrap)
526526
pgstat_bestart();
527527

528528
/* close the transaction we started above */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp