How to connect with postmaster through TCP socket

Started by Deepa Kover 21 years ago2 messagesgeneral
Jump to latest
#1Deepa K
kdeepa@midascomm.com

Hi,
I am using postgresql 7.1.3 in RedHatLinux 7.2. Can anyone tell me how
to connect with postmaster through TCP socket (it is started with -i
option) using libpq from an external application. (written in C)

--
regards,
Deepa K

#2Neil Conway
neilc@samurai.com
In reply to: Deepa K (#1)
Re: How to connect with postmaster through TCP socket

On Mon, 2004-10-25 at 22:59, Deepa K wrote:

Hi,
I am using postgresql 7.1.3 in RedHatLinux 7.2.

Note that PostgreSQL 7.1.3 is quite old -- you should consider
upgrading.

Can anyone tell me how
to connect with postmaster through TCP socket (it is started with -i
option) using libpq from an external application. (written in C)

http://www.postgresql.org/docs/7.4/static/libpq.html#LIBPQ-CONNECT

-Neil