From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Martin Trans-Euro I.T Ltd <stephen@sealteam.demon.co.uk>
Cc: pg-interfaces <pgsql-interfaces@hub.org>
Subject: Re: [INTERFACES] More VB
Date: Sat, 24 Jul 1999 11:27:16 -0400
Message-ID: <1525.932830036@sss.pgh.pa.us> (raw)
In-Reply-To: <016501bed57e$f376d740$bbb4989e@station1.Marketrends.net>
"Stephen Martin Trans-Euro I.T Ltd" <stephen@sealteam.demon.co.uk> writes:
> whilst it seems driving libpq.dll from VB might be a difficult
> enterprise.. is it still not possible to just connect a socket to
> port 5432 of where ever and start communicating with postgres through
> a socket? TCP or UDP?
Sure, if you can cope with binary-oriented data structures being
returned to you by the server. (The actual data is text, as long as you
don't use BINARY CURSORs, but it's wrapped in header and count fields
that are not.) libpq isn't doing anything that's particularly magic.
See the "Frontend/Backend Protocol" chapter of the Developer's Guide for
all the gory details of the client-to-server protocol.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, stephen@sealteam.demon.co.uk, pgsql-interfaces@hub.org
Subject: Re: [INTERFACES] More VB
In-Reply-To: <1525.932830036@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox