Received: from gcds4003.gcd.de (mail.gcd.de [194.162.100.194]) by hub.org (8.9.1/8.9.1) with ESMTP id EAA09478 for ; Wed, 20 Jan 1999 04:06:59 -0500 (EST) (envelope-from rluettecke@gcd.de) Received: from gcd.de (gcdw4123.gcd.de [192.168.4.123]) by gcds4003.gcd.de (8.8.8/8.8.8) with ESMTP id KAA30837 for ; Wed, 20 Jan 1999 10:09:01 +0100 Leader: root Message-ID: <36A59DD8.256FED1C@gcd.de> Date: Wed, 20 Jan 1999 10:11:52 +0100 From: Rolf Luettecke X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i686) MIME-Version: 1.0 To: pgsql-interfaces@hub.org Subject: Re:[INTERFACES] PostgreSQL, ODBC and Applix Data Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit William D. McCoy wrote: > > > Has anyone managed to access PostgreSQL using Applix Data via ODBC? > > Can it be done? If so, please contact me and give me some hints. > I´ve installed Postgres 6.4x and libpsqlodbc 0.25 on HOST1, installed applix on WORKSTATION2, made an entry in $HOME/.odbc.ini, for example: [ODBC Data Sources] psg01=PostgreSQL on HOST1 [psg01] Trace=1 TraceFile=/var/log/psg01.log Driver=/opt/applix/axdata/axshlib/lib/libpsqlodbc.so.0.25 Description="Data-Warehouse on HOST1" Servername=host1.domain.de Port=5432 Database=warehouse ReadOnly=0 TextAsLongVarchar=0 had a quick look at $APPLIX/axdata/axnet.cnf: setenvFor elfodbc /ax/axexec/axdata/axshlib libFor elfodbc /opt/applix/axdata/axshlib/lib Then I setup an appropriate entry in the postgres access-control file $PGDATA/pg_hba.conf. Restart applix/axdata, select server (the entry from .odbc.ini must appear), select the new dsn, provide username and password - voila my tables. Any typo´s, did I forgot something :-)) Yes, I did, happy 1999 to all - especially to Tom, Peter, Byron and trotfhcap. --------------------------- Rolf Lüttecke GCD - Systemhaus mbH 49084 Osnabrück Internet Business Solutions rluettecke@gcd.de