public inbox for [email protected]  
help / color / mirror / Atom feed
From: Alvaro Herrera <[email protected]>
To: Robert Haas <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Pg Docs <[email protected]>
Subject: Re: psql's \h MOVE
Date: Mon, 04 Apr 2011 12:11:11 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

Excerpts from Robert Haas's message of dom abr 03 20:37:39 -0400 2011:
> On Sat, Apr 2, 2011 at 12:53 PM, Tom Lane <[email protected]> wrote:
> > Alvaro Herrera <[email protected]> writes:
> >> I just noticed that \h MOVE is particularly unhelpful:
> >>       alvherre=# \h move
> >>       Command:     MOVE
> >>       Description: position a cursor
> >>       Syntax:
> >>       MOVE [ direction { FROM | IN } ] cursorname
> >
> >> The problem is that it doesn't specify what "direction" is.  The doc
> >> text tells you to look into FETCH for details, but in \h you have to
> >> guess.

> > -1 ... if this annoys you, just duplicate the definition of direction
> > from FETCH.
> 
> +1 for duplicating the definition.

Done that way.

(I'd like to have something like \h column_constraint for common stuff
in ALTER TABLE and CREATE TABLE, but that'll have to wait.)

-- 
Álvaro Herrera <[email protected]>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support




view thread (4+ messages)

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: psql's \h MOVE
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox