pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bryan White <bryan@arcamax.com>
To: pgsql-general@postgreSQL.org
Subject: Default values not working
Date: Wed, 30 Jun 1999 09:29:08 -0400
Message-ID: <002901bec2fc$8839f780$22d260d1@arcamax.com> (raw)

If I add a field to a colum using:
    alter table mytable add column myint int not null default 0;
The default value does not seem to make it into the data dictionary.

This is using Postgres 6.5.

Is there is way to manually poke a default value into the data dictionary?

Bryan White
ArcaMax Inc.
Yorktown VA
www.arcamax.com




Message-ID: <002901bec2fc$8839f780$22d260d1@arcamax.com>
Permalink:  ../002901bec2fc$8839f780$22d260d1@arcamax.com/
Also on:    postgresql.org/message-id/002901bec2fc$8839f780$22d260d1@arcamax.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: bryan@arcamax.com, pgsql-general@postgreSQL.org
  Subject: Re: Default values not working
  In-Reply-To: <002901bec2fc$8839f780$22d260d1@arcamax.com>

* 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