Re: pg & Delphi

From: "Josh Tolley" <eggyknap(at)gmail(dot)com>
To: "Dmitry Turin" <sql4-en(at)narod(dot)ru>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pg & Delphi
Date: 2007-09-02 20:38:50
Message-ID: e7e0a2570709021338j4db685edmc76a315daaabe7a4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 9/1/07, Dmitry Turin <sql4-en(at)narod(dot)ru> wrote:
> Very thanks to all.
> Some questions:
>
> RH> You should be able to connect via ODBC.
> I don't know Delphi well (i used only BDE).
> What Delphi's object should be used to connect via ODBS
> (instead of BDE-components TTable, TDatabase) ?
>
> JT> Delphi should let you use dlls written in other languages.
> JT> So I'd just use libpq.dll.
> Similarly, What Delphi's object should be used to connect via libpq.dll
> (instead of BDE-components TTable, TDatabase -
> i'd like to know all ways to connect Postgres and Delphi)?

If I remember correctly, when I was doing MySQL and Delphi (again,
it's been years), we didn't use components to talk to the database --
instead, we simply called functions out of libmysql.dll. Were I doing
the same thing with PostgreSQL today, I'd call functions directly from
libpq.dll.

-Josh/eggyknap

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message L D 2007-09-02 21:12:06 PK & FK & Index Question
Previous Message Dmitry Turin 2007-09-02 05:44:53 Re: pg & Delphi