Re: drop user / role if exists

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "P(dot)M" <pmdanger(at)yahoo(dot)com>
Cc: "PostgreSQL General (EN)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: drop user / role if exists
Date: 2006-05-21 09:17:05
Message-ID: 20060521091705.GA10443@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, May 21, 2006 at 02:08:38AM -0700, P.M wrote:
> Hi,
>
> How under postgreSQL 7 do the equivalent as DROP USER / ROLE IF EXISTS ?
> my web provider only support postgreSQL 7 :-(

Do the DROP USER and ignore the error if it doesn't exist.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message P.M 2006-05-21 09:25:44 Re: drop user / role if exists
Previous Message P.M 2006-05-21 09:08:38 drop user / role if exists