pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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




view thread (5+ messages)  latest in thread

Message-ID: <007701c152ef$d8461ee0$8300a8c0@michaeltelecom.de>
Permalink:  ../007701c152ef$d8461ee0$8300a8c0@michaeltelecom.de/
Also on:    postgresql.org/message-id/007701c152ef$d8461ee0$8300a8c0@michaeltelecom.de

 · 

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: 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