Thread: ECPG examples...

ECPG examples...

From
"Cristian Prieto"
Date:
Hello, I've been reading a little the ECPG (Embedded SQL in C) and the doc is (I guess) very clear, but I cannot find any examples in the documentation, any idea where to get examples? inside the pgsql source code?
 
Thanks a lot!

Re: ECPG examples...

From
"Reid Thompson"
Date:
see the contrib directory,,, i think there is also a simple example in the docs...
 
 

reid

-----Original Message-----
From: Cristian Prieto [mailto:cristian@clickdiario.com]
Sent: Thursday, September 01, 2005 4:10 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] ECPG examples...

Hello, I've been reading a little the ECPG (Embedded SQL in C) and the doc is (I guess) very clear, but I cannot find any examples in the documentation, any idea where to get examples? inside the pgsql source code?
 
Thanks a lot!

Re: ECPG examples...

From
"Reid Thompson"
Date:
 
 

reid

-----Original Message-----
From: Cristian Prieto [mailto:cristian@clickdiario.com]
Sent: Thursday, September 01, 2005 4:10 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] ECPG examples...

Hello, I've been reading a little the ECPG (Embedded SQL in C) and the doc is (I guess) very clear, but I cannot find any examples in the documentation, any idea where to get examples? inside the pgsql source code?
 
Thanks a lot!

Re: ECPG examples...

From
"Cristian Prieto"
Date:
Thanks a lot! It was very helpfull!!!
 
----- Original Message -----
Sent: Thursday, September 01, 2005 2:43 PM
Subject: Re: [GENERAL] ECPG examples...

 
 

reid

-----Original Message-----
From: Cristian Prieto [mailto:cristian@clickdiario.com]
Sent: Thursday, September 01, 2005 4:10 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] ECPG examples...

Hello, I've been reading a little the ECPG (Embedded SQL in C) and the doc is (I guess) very clear, but I cannot find any examples in the documentation, any idea where to get examples? inside the pgsql source code?
 
Thanks a lot!

Re: ECPG examples...

From
Michael Meskes
Date:
On Thu, Sep 01, 2005 at 02:10:04PM -0600, Cristian Prieto wrote:
> Hello, I've been reading a little the ECPG (Embedded SQL in C) and the doc is (I guess) very clear, but I cannot find
anyexamples in the documentation, any idea where to get examples? inside the pgsql source code? 

Yes, there us an example directory in the source code:
.../src/interfaces/ecpg/test

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!