1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-02 09:53:24 +02:00

replication connection fix

This commit is contained in:
Grigory Smolkin 2017-11-01 08:24:54 +03:00
parent 80244158cd
commit 43bd813cb5

View File

@ -2470,7 +2470,7 @@ StreamLog(void *arg)
* Connect in replication mode to the server
*/
if (conn == NULL)
conn = GetConnection();
conn = pgut_connect_replication(pgut_dbname);
if (!conn)
{
pthread_mutex_unlock(&start_stream_mut);