Skip to content

Commit 015d291

Browse files
author
Konstantin Knizhnik
committed
Disable dedicated backend for psql
1 parent bcaca8e commit 015d291

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/backend/utils/init/postinit.c

+3
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,9 @@ InitPostgres(const char *in_dbname, Oid dboid,
12681268
/* close the transaction we started above */
12691269
if (!bootstrap)
12701270
CommitTransactionCommand();
1271+
1272+
if (strcmp(application_name, "psql") == 0)
1273+
allow_dedicated_backends = false;
12711274
}
12721275

12731276
/*

0 commit comments

Comments
 (0)