From: Rolf Lüttecke <rolf.luettecke@michael-telecom.de>
To: pgsql-admin@postgresql.org
Subject: Re: Alter column / array
Date: Fri, 12 Oct 2001 09:31:02 +0200
Message-ID: <007701c152ef$d8461ee0$8300a8c0@michaeltelecom.de> (raw)
Hi Tom,
> You can use ALTER TABLE SET DEFAULT to add the default after you add
> the column.
Works.
> Hmm ... I wonder why ADD COLUMN doesn't just call the SET DEFAULT
> routine to handle adding the default ...
I'm wondering too. But all programs do only those things they were told
to do - mostly, not always ;-)
Hi Stephan,
> And, what do you mean by updates doing strange things?
Follow-up-errors caused by updating an uninitialized array. Now it is
clear why it couldn't work.
Thanx and regards
R. Lüttecke (IT)
MICHAELTELECOM AG
Bruchheide 34
49163 Bohmte
+49 5471 8060
http://www.michael-telecom.de
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: rolf.luettecke@michael-telecom.de
Subject: Re: Alter column / array
In-Reply-To: <007701c152ef$d8461ee0$8300a8c0@michaeltelecom.de>
References: <007701c152ef$d8461ee0$8300a8c0@michaeltelecom.de>
* 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