EXEC SQL CONNECT - Mailing list pgsql-interfaces

From James Thompson
Subject EXEC SQL CONNECT
Date
Msg-id Pine.GSO.4.05.9901202104070.19628-100000@noether.math.ksu.edu
Whole thread Raw
Responses Re: [INTERFACES] EXEC SQL CONNECT  (Michael Meskes <Michael_Meskes@usa.net>)
List pgsql-interfaces
Hi,

The mail archive seems messed up when I search for this info.

I'm trying to use ecpg to connect to postgres

I've never used embedded sql in C though years ago I did use Pro*FORTRAN
for Oracle.  Anyway how do I connect to a remote or local database in ecgs
passing in the database name, username, and password.  The test programs
in the tarball don't seem to do this.

I tried looking in the preproc.y filebut I don't understand it's format.

->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson    138 Cardwell Hall  Manhattan, Ks   66506    785-532-0561
Kansas State University                          Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<



pgsql-interfaces by date:

Previous
From: David Giffin
Date:
Subject: JDBC postgresql.Driver
Next
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] ECPG Question