Search Postgresql Archives

Re: ECPG problem with 8.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----
> From: Peter Wilson <petew@xxxxxxxxxxxxxxxx>
> To: Michael Meskes <meskes@xxxxxxxxxxxxxx>; pgsql-general@xxxxxxxxxxxxxx
> Sent: Monday, January 14, 2008 8:41:12 AM
> Subject: Re:  ECPG problem with 8.3
> 
> Fetch with a variable seems to be almost the only useful way of
> using
> 
 FETCH 
> ABSOLUTE (or any of the variants that have count parameter).
> 
> For backwards compatibility wouldn't it be better to do the sprintf
> in
> 
 the ECPG 
> preprocessor if the count is a variable rather than generate an
> error?

I'd like to add to this discussion from an Oracle Pro*C (Oracle's name for embedded SQL) perspective.  Most of the Pro*C code that I've worked with over the years uses a variable for the fetch count as well.  It'd be nice if there was some way to support this convention directly in ECPG (assuming it doesn't create maintenance/security issues) for anyone porting applications from Oracle to Postgresql.

Regards,

Shelby Cain




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux