Thread: ECPG examples

ECPG examples

From
Christian Valverde
Date:
im trying to build some objects to interact with QT dialog i just maid .
please could anypne point me a site where to see examples on ECPG
im actually interested in examples of reciving data fron databases . i already 
send data to pg but cant receive data form pg .
-- 
nver let the bed bug bite


Re: ECPG examples

From
Henk Jan Barendregt
Date:

Christian Valverde wrote:
> im trying to build some objects to interact with QT dialog i just maid .
> please could anypne point me a site where to see examples on ECPG
> im actually interested in examples of reciving data fron databases . i already 
> send data to pg but cant receive data form pg .

You can find a e-copy of the oracle proc/c++ programmers guide here

http://download-uk.oracle.com/docs/cd/A64702_01/doc/index.htm

You can convert it to postgresql programs with some minor changes

Regards,

Henk Jan Barendregt






Re: ECPG examples

From
Darko Prenosil
Date:
On Sunday 03 January 1999 04:01, Christian Valverde wrote:
> im trying to build some objects to interact with QT dialog i just maid .
> please could anypne point me a site where to see examples on ECPG
> im actually interested in examples of reciving data fron databases . i
> already send data to pg but cant receive data form pg .

Which version of QT do You use ?
There are database objects like QSqlQuery QSqlField that can simplify your 
tasks. When I first tried it, it was version 2.5. There is also QSqlDriver 
that directly support PostgreSQL. Not shore why You must use ECPG when QT has 
DB classes and objects. 

Regards !


Re: ECPG examples

From
Michael Meskes
Date:
On Sat, Jan 02, 1999 at 10:01:35PM -0500, Christian Valverde wrote:
> im trying to build some objects to interact with QT dialog i just maid .
> please could anypne point me a site where to see examples on ECPG
> im actually interested in examples of reciving data fron databases . i already 
There is a test/ dir inside ecpg source tree.

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


Re: ECPG examples

From
Jim Parker
Date:
Here are some example files I wrote with the help of the book:

Neil Matthew, and Richard Stones; "Profesional Linux Programming";
Wrox Press Ltd., Birmingham, UK; 2000

cheers,
Jim Parker

BTW I appologize to the list for the number and length of the files.
If someone could add them to a tutorial or other documentation, that
would be great.  The ECPG docs are limited at best :-(



On 1999.01.02 22:01 Christian Valverde wrote:
> im trying to build some objects to interact with QT dialog i just maid
> .
> please could anypne point me a site where to see examples on ECPG
> im actually interested in examples of reciving data fron databases . i
> already
> send data to pg but cant receive data form pg .
> --
> nver let the bed bug bite
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>

Attachment