Re: Copying large object in a stored procedure

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Copying large object in a stored procedure
Date: 2008-04-15 12:26:28
Message-ID: 1208262388.8259.337.camel@PCD12478
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2008-04-15 12:46:14 Re: Storage sizes for dates/times (documentation bug?)
Previous Message Csaba Nagy 2008-04-15 12:19:14 Re: Copying large object in a stored procedure