Received: from localhost (IDENT:root@hectic-2.jpl.nasa.gov [128.149.68.204]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA66779 for ; Wed, 6 Oct 1999 09:38:37 -0400 (EDT) (envelope-from lockhart@alumni.caltech.edu) Received: from alumni.caltech.edu (lockhart@localhost [127.0.0.1]) by localhost (8.8.7/8.8.7) with ESMTP id NAA26003; Wed, 6 Oct 1999 13:37:40 GMT Sender: lockhart@hub.org Message-ID: <37FB50A4.24F2F44F@alumni.caltech.edu> Date: Wed, 06 Oct 1999 13:37:40 +0000 From: Thomas Lockhart X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: "J. Carlos Muro" CC: PostgreSQL Interfaces Mailing List Subject: Re: [INTERFACES] Questions connecting to PostgreSQL. References: <37FAE9C3.D6400BA1@santandersupernet.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id JAA67896 > I want to develop a database application with Borland C++ Builder. I > want to access a PostgreSQL sited in a remote Linux, and I have many > general questions to solve before starting: > 1.- ¿What ways can I use to connect to the database? (ODBC ...¿?) > I would like not using ODBC because it is too slow. I have heard about > sockets connections. Ideas? Doc available? ODBC, libpq, libpq++, JDBC are the available options. Don't even think about doing a custom implementation on sockets; you'll just be duplicating work already done. > 2.- I want to transmit data in encrypted way. Is it true that ODBC > doesn't send data encryted? Is there a kwown solution for it? Not sure. Look at the newest online docs at www.postgresql.org in the chapter on Security, which discusses ssh, or check the mailing list archives. > 4.- I have heard about the libpq++ classes. But, are them only for > Linux, or can I use them from the Borland C++ Builder? They compile on two dozen platforms. Not sure what Borland requires for code, how C++ compliant it is (the standard evolves faster than the compilers), etc. Good luck. - Thomas -- Thomas Lockhart lockhart@alumni.caltech.edu South Pasadena, California