Re: DELETE FROM pg_description WHERE ... - Mailing list pgsql-admin

From Tom Lane
Subject Re: DELETE FROM pg_description WHERE ...
Date
Msg-id 22836.1303662466@sss.pgh.pa.us
Whole thread Raw
In response to Re: DELETE FROM pg_description WHERE ...  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-admin
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Fri, Apr 22, 2011 at 5:26 PM, Erwin Brandstetter <brsaweda@gmail.com> wrote:
>> DELETE FROM pg_description WHERE description = 'My very special
>> totally useless comment.';

> Why would you *not* use the COMMENT command for that?

If what he wants is to drop comments containing a particular string,
COMMENT isn't an especially easy way to do it.

            regards, tom lane

pgsql-admin by date:

Previous
From: Simon Riggs
Date:
Subject: Re: DELETE FROM pg_description WHERE ...
Next
From: David Hornsby
Date:
Subject: Scaling