get column default value

From: Jean-Christophe Roux <jcxxr(at)yahoo(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: get column default value
Date: 2006-11-13 14:49:14
Message-ID: 20061113144914.83394.qmail@web35307.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hello,
How can I get the default value for a column?
To change the default value, something like
ALTER TABLE dummy ALTER COLUMN value SET DEFAULT -12;
would do the job, but how could I query the value?

Thanks in advance

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Ketema Harris 2006-11-13 14:59:29 Re: get column default value
Previous Message Servers24 Network 2006-11-11 11:22:39 Re: PgSQL and integration between 2 PHP programs and a Java program