pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Florian Helmberger <f.helmberger@uptime.at>
To: Robson <robson-martins@bol.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: Default value after table create
Date: Fri, 21 Jun 2002 14:37:14 +0200
Message-ID: <OPEOLKEAAIMGBAMJNACKMEFNEJAA.f.helmberger@uptime.at> (raw)
In-Reply-To: <001f01c2191d$1677ef60$543c620a@catnet.com.br>

Hi.

alter table <table_name> alter column <column_name> add default <default>;

Cheers,
Florian
  -----Original Message-----
  From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Robson
  Sent: Friday, June 21, 2002 2:13 PM
  To: pgsql-admin@postgresql.org
  Subject: [ADMIN] Default value after table create
  Importance: High



      With set default value, after  table create ?

      with pgAdmin II , psql, or etc...

      Regards,

      Robson

view thread (2+ messages)

Message-ID: <OPEOLKEAAIMGBAMJNACKMEFNEJAA.f.helmberger@uptime.at>
Permalink:  ../OPEOLKEAAIMGBAMJNACKMEFNEJAA.f.helmberger@uptime.at/
Also on:    postgresql.org/message-id/OPEOLKEAAIMGBAMJNACKMEFNEJAA.f.helmberger@uptime.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: f.helmberger@uptime.at, robson-martins@bol.com.br
  Subject: Re: Default value after table create
  In-Reply-To: <OPEOLKEAAIMGBAMJNACKMEFNEJAA.f.helmberger@uptime.at>
  References: <001f01c2191d$1677ef60$543c620a@catnet.com.br> <OPEOLKEAAIMGBAMJNACKMEFNEJAA.f.helmberger@uptime.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox