Re: Copying large object in a stored procedure - Mailing list pgsql-general

From Csaba Nagy
Subject Re: Copying large object in a stored procedure
Date
Msg-id 1208262388.8259.337.camel@PCD12478
Whole thread Raw
In response to Re: Copying large object in a stored procedure  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-general
[snip]
> DECLARE
>     v_NewOID BIGINT;
                           ^^^^^^
small correction: v_NewOID should be of type OID:

DECLARE
    v_NewOID OID;

BIGINT would of course work too as long as there is implicit cast from
it to/from OID, which seems to be the case on 8.2.

Cheers,
Csaba.



pgsql-general by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: Copying large object in a stored procedure
Next
From: Karsten Hilbert
Date:
Subject: Re: Storage sizes for dates/times (documentation bug?)