ECPG examples

Lists: pgsql-interfaces
From: Christian Valverde <valval(at)porta(dot)net>
To: interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: ECPG examples
Date: 1999-01-03 03:01:35
Message-ID: 199901022201.35635.valval@porta.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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


From: Jim Parker <hopeye(at)cfl(dot)rr(dot)com>
To: valval(at)porta(dot)net
Cc: interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG examples
Date: 2003-06-27 15:18:35
Message-ID: 20030627111835.C354@shamrock.cfl.rr.com20030627111835.C354@shamrock.cfl.rr.com\0000
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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 Content-Type Size
Makefile text/x-makefile 901 bytes
test.h text/x-c 2.4 KB
test_createdb_ecpg.pgc application/octet-stream 2.3 KB
test_db_ecpg.pgc application/octet-stream 5.8 KB
test_edit_ecpg.pgc application/octet-stream 2.3 KB
test_get_ecpg.pgc application/octet-stream 2.6 KB
test_insert_ecpg.pgc application/octet-stream 2.4 KB

From: Darko Prenosil <darko(dot)prenosil(at)finteh(dot)hr>
To: interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG examples
Date: 2003-06-27 17:03:49
Message-ID: 200306271903.49242.darko.prenosil@finteh.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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 !


From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Christian Valverde <valval(at)porta(dot)net>
Cc: interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG examples
Date: 2003-06-27 17:50:18
Message-ID: 20030627175018.GA6618@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


From: Henk Jan Barendregt <henkjan(at)barendregt(dot)xs4all(dot)nl>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG examples
Date: 2003-06-27 22:48:28
Message-ID: 3EFCC9BC.4040704@barendregt.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces

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