pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erwin Brandstetter <brsaweda@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: DELETE FROM pg_description WHERE ...
Date: Sun, 24 Apr 2011 00:54:13 +0200
Message-ID: <4DB35895.4040708@gmail.com> (raw)
In-Reply-To: <1237.1303528918@sss.pgh.pa.us>
References: <da0a7ec9-70de-4017-a514-8d62596f13f7@x10g2000vbn.googlegroups.com>
	<1237.1303528918@sss.pgh.pa.us>

On 23.04.2011 05:21, Tom Lane wrote:
> Erwin Brandstetter<brsaweda@gmail.com>  writes:
>> However, I have a database with dozens of schemas and hundreds of
>> tables. There is a bunch of useless comments on columns I want to get
>> rid of, scattered all across the db. The fastest&  easiest way would
>> be:
>> DELETE FROM pg_description WHERE description = 'My very special
>> totally useless comment.';
>> AFAICS, there are no side-effects. Are there any?
> It's safe enough, as long as you don't delete the wrong comments.
> There's no hidden infrastructure for a comment.
>
> 			regards, tom lane
>

Thank you for your answers!

Regards
Erwin




view thread (5+ messages)  latest in thread

Message-ID: <4DB35895.4040708@gmail.com>
Permalink:  ../4DB35895.4040708@gmail.com/
Also on:    postgresql.org/message-id/4DB35895.4040708@gmail.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-admin@postgresql.org
  Cc: brsaweda@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: DELETE FROM pg_description WHERE ...
  In-Reply-To: <4DB35895.4040708@gmail.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