Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 9966F9F9618 for ; Sun, 2 Sep 2007 17:38:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 29699-02 for ; Sun, 2 Sep 2007 17:38:38 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by postgresql.org (Postfix) with ESMTP id DC71E9F960B for ; Sun, 2 Sep 2007 17:38:52 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id 30so1094484nfu for ; Sun, 02 Sep 2007 13:38:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jXOMzvthWhDdlx+SJM4L7hKGBckqzRVQijrO7TMU0GA386GNeEr3oksfp3aBK9ecWMD8ce+o39+eYwHNhO60zTB6tyUEARjjOQjJbTO/zvWNpwi+nLKz+At2oUAvmIpm06am8cvRymnLFH3J4bYtjfPny1q//4iNC87LNLdU+w0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ur9RLoXFcu3QTheivXXxat8mG8mK7h7JaZH55wqHqmAFUg2JKzZhL5t8aePkqWUQhNMWfRDKhshC1+yyWihplVTUZHXTeNJoJVBrhJ3rIF1e0/Gbvlo4sqVs6EyYl/3baJPEFQdE/eIcdwlsqwfRcm7f/0xzZIqa0eoeURhT6e4= Received: by 10.78.137.7 with SMTP id k7mr2777730hud.1188765530874; Sun, 02 Sep 2007 13:38:50 -0700 (PDT) Received: by 10.78.107.5 with HTTP; Sun, 2 Sep 2007 13:38:50 -0700 (PDT) Message-ID: Date: Sun, 2 Sep 2007 14:38:50 -0600 From: "Josh Tolley" To: "Dmitry Turin" Subject: Re: pg & Delphi Cc: pgsql-sql@postgresql.org In-Reply-To: <347181188711893@webmail35.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <347181188711893@webmail35.yandex.ru> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/4 X-Sequence-Number: 29217 On 9/1/07, Dmitry Turin 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