Skip site navigation (1) Skip section navigation (2)

Re: silence and failure of SQL commands

From: Leif Biberg Kristensen <leif(at)solumslekt(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: silence and failure of SQL commands
Date: 2011-04-28 21:06:30
Message-ID: 201104282306.30552.leif@solumslekt.org (view raw or flat)
Thread:
Lists: pgsql-novice
On Thursday 28 April 2011 22:54:36 Robert Poor wrote:

> You are totally correct -- thou shalt not assume super-user privs
> without cause.  I was using the "#" notation to be consistant with
> Tom's previous post.
> 
> But this doesn't change my suggestion about changing
> 
>    \set PROMPT2 '+%# '

Of course not. I've got no objection to that part.

There are plenty of ways to shoot yourself in the foot in psql as a regular 
user, like a DELETE FROM without a WHERE clause. Been there, done that. Took 
me a couple of restores to kick that habit.

regards, Leif

In response to

Responses

pgsql-novice by date

Next:From: Robert PoorDate: 2011-04-28 21:17:17
Subject: Re: silence and failure of SQL commands
Previous:From: Robert PoorDate: 2011-04-28 20:54:36
Subject: Re: silence and failure of SQL commands

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group