Re: Cursors and PHP

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Steve Manes <smanes(at)magpie(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cursors and PHP
Date: 2004-04-19 15:48:06
Message-ID: Pine.LNX.4.33.0404190944590.16551-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I'm not sure why you're doing it the exact way you are, but you basically
just call the same commands within a pg_query as you would on the psql
command line to make it work:

begin
declare mycurs cursor as select * from table
fetch 10
rollback / commit

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-04-19 16:46:12 Re: Storing images in a field
Previous Message Együd Csaba 2004-04-19 15:28:19 Storing images in a field