Re: ALTER TABLE ... SET DEFAULT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian McCane <bmccane(at)mccons(dot)net>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: ALTER TABLE ... SET DEFAULT
Date: 2002-04-12 14:00:46
Message-ID: 27183.1018620046@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Brian McCane <bmccane(at)mccons(dot)net> writes:
> alter table foo alter column updated set default 'since_epoch()' ;
> this gets the error:
> ERROR: pg_atoi: error in "since_epoch()": can't parse "since_epoch()"

Try it without the quotes.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Nick Fankhauser 2002-04-12 21:56:03 A *short* planner question
Previous Message Tony Griffiths 2002-04-12 12:17:25 Extending table name max length