Re: stored procs

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: stored procs
Date: 2011-09-30 08:28:27
Message-ID: 4E857DAB.8050407@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-09-30 08:45:14 Re: stored procs
Previous Message John R Pierce 2011-09-30 08:23:32 Re: stored procs