Skip site navigation (1) Skip section navigation (2)

EXEC SQL CONNECT

From: James Thompson <jamest(at)math(dot)ksu(dot)edu>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: EXEC SQL CONNECT
Date: 1999-01-21 03:09:59
Message-ID: Pine.GSO.4.05.9901202104070.19628-100000@noether.math.ksu.edu (view raw or flat)
Thread:
Lists: 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
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<



Responses

pgsql-interfaces by date

Next:From: Peter T MountDate: 1999-01-21 08:17:25
Subject: Re: [INTERFACES] JDBC postgresql.Driver
Previous:From: David GiffinDate: 1999-01-20 23:24:03
Subject: JDBC postgresql.Driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group