ECPG (usage of simple select statement) - Mailing list pgsql-general

From Jasbinder Bali
Subject ECPG (usage of simple select statement)
Date
Msg-id a47902760607202028m279050c1y4c5362ebe2393921@mail.gmail.com
Whole thread Raw
List pgsql-general
Hi,
 
I'm using ECPG in my C code and I want to display the result of a simple select statement.
 
If i write something like
EXEC SQL select * from abc ; (which as of now is not working)
 
wouldn't this display the result staright away or its always mandatory to use a cursor and then do printf() for
each row retrieved?
 
Thanks,
Jas

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: setting serial start value
Next
From: Greg Philpott
Date:
Subject: Re: setting serial start value