pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: pgsql-bugs@lists.postgresql.org
To: liguangxian1995@gmail.com
Subject: Re: BUG #15247: At 'ALTER TABLE ADD COLUMN fast default' , Set attmissingval to NULL in the pg_attribute, query fail
Date: Tue, 19 Jun 2018 07:05:43 +0100
Message-ID: <87d0wnqta9.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <152938199549.1445.15943776243848338882@wrigleys.postgresql.org>
References: <152938199549.1445.15943776243848338882@wrigleys.postgresql.org>

>>>>> "PG" == PG Bug reporting form <noreply@postgresql.org> writes:

 PG> (4)  update pg_attribute set attmissingval = NULL where attname = 'b';

Nobody ever claimed that you could update pg_attribute without crashing
the server; I can think of half a dozen ways to do it.

-- 
Andrew (irc:RhodiumToad)




view thread (4+ messages)  latest in thread

Message-ID: <87d0wnqta9.fsf@news-spur.riddles.org.uk>
Permalink:  ../87d0wnqta9.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87d0wnqta9.fsf@news-spur.riddles.org.uk

 · 

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-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, liguangxian1995@gmail.com
  Subject: Re: BUG #15247: At 'ALTER TABLE ADD COLUMN fast default' , Set attmissingval to NULL in the pg_attribute, query fail
  In-Reply-To: <87d0wnqta9.fsf@news-spur.riddles.org.uk>
  References: <152938199549.1445.15943776243848338882@wrigleys.postgresql.org> <87d0wnqta9.fsf@news-spur.riddles.org.uk>

* 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