Thread: missing SQL BEGIN in example ECPG Program Accessing Large Objects

missing SQL BEGIN in example ECPG Program Accessing Large Objects

From
tmaeke@gmx.de
Date:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.5/static/ecpg-lo.html
Description:

Example 33-2. ECPG Program Accessing Large Objects

after 
   EXEC SQL CONNECT ....

missing (at least for 9.4.8)
   EXEC SQL BEGIN;

before first 
   lo_create(...


Re: missing SQL BEGIN in example ECPG Program Accessing Large Objects

From
Peter Eisentraut
Date:
On 8/8/16 8:37 AM, tmaeke@gmx.de wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.5/static/ecpg-lo.html
> Description:
>
> Example 33-2. ECPG Program Accessing Large Objects
>
> after
>    EXEC SQL CONNECT ....
>
> missing (at least for 9.4.8)
>    EXEC SQL BEGIN;
>
> before first
>    lo_create(...

I don't think that would be correct.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services