ECPG fetch from cursor BUG!?
Hi all!
I am new to postgres, trying to run an embedded sql
program using the ECPG preprocessor.
The ecpg phase completes successfully and so is the
gcc.
But ehen I ran the executable i get:
NOTICE: PerformPortalFetch: portal "pick_em" not found
Segmentation fault (core dumped).
I am running postgres v6.3.2 under Slackware 3.2.
The source is attched.
Can someone help?
Jacob Ginsburg
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
Attachments:
Hi Dim!
I tryed your sujjestion - but no cigar.
I get the same bad results.
Thanks
Jacob
---Dimitri <dimitri@France.Sun.COM> wrote:
Hi, Jacob!
I think you have to declare the cursor AFTER begin transaction.
I'll be more legal according RDBMS standards.Best regards,
(dim)On Fri, 28 Aug 1998, you wrote:
Hi all!
I am new to postgres, trying to run an embedded sql
program using the ECPG preprocessor.
The ecpg phase completes successfully and so is the
gcc.
But ehen I ran the executable i get:
NOTICE: PerformPortalFetch: portal "pick_em" not found
Segmentation fault (core dumped).
I am running postgres v6.3.2 under Slackware 3.2.
The source is attched.
Can someone help?
Jacob Ginsburg_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com----------------------------------------
Content-Type: application/octet-stream; name="expir.pgc"
Content-Transfer-Encoding: base64
Content-Description: expir.pgc
----------------------------------------
--
=====================================================
Dimitri KRAVTCHUK (dim) Sun Microsystems
Benchmark Engineer France
dimitri@France.Sun.COM
=====================================================
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
Import Notes
Resolved by subject fallback