Re: stored procs - Mailing list pgsql-general

From John R Pierce
Subject Re: stored procs
Date
Msg-id 4E857DAB.8050407@hogranch.com
Whole thread Raw
In response to Re: stored procs  (John R Pierce <pierce@hogranch.com>)
Responses Re: stored procs  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On 09/30/11 1:23 AM, John R Pierce wrote:
> convert the fields to bigint which are 64 bit and not likely to wrap
> around any time in this century

indeed, this is as simple as ...

     alter table tblname alter column id type bigint;

of course, you'll need to alter all the FK fields that refer to it too,
and I don't know if that entangles this.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: stored procs
Next
From: John R Pierce
Date:
Subject: Re: stored procs