pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Jada Case <jadac@mccright.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Adding field to a table currently being used
Date: Tue, 22 Mar 2005 12:06:23 -0600
Message-ID: <1111514782.26897.1449.camel@state.g2switchworks.com> (raw)
In-Reply-To: <001c01c52f06$5cc041a0$6e00a8c0@jada>
References: <001c01c52f06$5cc041a0$6e00a8c0@jada>

On Tue, 2005-03-22 at 11:41, Jada Case wrote:
> Hello,
>  
> I need to know if I add a field to an existing table within a database
> that is currently being accessed by many users, if it will effect it
> or crash it?  I have researced the archives and could not find an
> answer, if there is documentation on this, will you point me in the
> right direction?
>  

It definitely won't crash the server, PostgreSQL is quite robust. 
Certain alter table actions may need to take out a short lived lock, but
shouldn't normally cause another client to fail, unless that client is
relying on a column that is being altered in some way that conflicts
with that client.





view thread (2+ messages)

Message-ID: <1111514782.26897.1449.camel@state.g2switchworks.com>
Permalink:  ../1111514782.26897.1449.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1111514782.26897.1449.camel@state.g2switchworks.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 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: smarlowe@g2switchworks.com, jadac@mccright.com
  Subject: Re: Adding field to a table currently being used
  In-Reply-To: <1111514782.26897.1449.camel@state.g2switchworks.com>
  References: <001c01c52f06$5cc041a0$6e00a8c0@jada> <1111514782.26897.1449.camel@state.g2switchworks.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