pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Erwin Brandstetter <brsaweda@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: DELETE FROM pg_description WHERE ...
Date: Sun, 24 Apr 2011 12:27:46 -0400
Message-ID: <22836.1303662466@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTikCbyLiad2C9ELzMMxecJ1-bD69fg@mail.gmail.com>
References: <da0a7ec9-70de-4017-a514-8d62596f13f7@x10g2000vbn.googlegroups.com>
	<BANLkTikCbyLiad2C9ELzMMxecJ1-bD69fg@mail.gmail.com>

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



view thread (5+ messages)

Message-ID: <22836.1303662466@sss.pgh.pa.us>
Permalink:  ../22836.1303662466@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22836.1303662466@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, simon@2ndQuadrant.com, brsaweda@gmail.com
  Subject: Re: DELETE FROM pg_description WHERE ...
  In-Reply-To: <22836.1303662466@sss.pgh.pa.us>

* 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