Problem during debugging

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Problem during debugging
Date: 2017-08-27 00:41:03
Message-ID: CA+FnnTwGY0PjRSD7qABW9uCAaKTaixuLzcgL+RXheAwcL9H=qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, ALL,
I am trying to write a program that is using libpq.
For testing purposes I am trying to connect to the remote server, which
is running on my home network on a different machine.

Sometimes during debugging my program crashes or just produces incorrect
results. In this case I have to stop the program, fix the issue and restart.

The trouble is that after restart I am getting an error on connection.
In order to connect successfully, I should run a query on a remote machine -
any query will do. Then I connect successfully.

I'm not setting up any options during connection.

Is there anything I can do in order to always get a connection?

Thank you.

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Igrishin 2017-08-27 09:15:55 Using the dollar sign as a prefix for named parameter of prepared statement.
Previous Message Dmitry Lazurkin 2017-08-26 21:51:53 Re: Change location of function/type installed from C-extension