Re: \crosstabview fixes - Mailing list pgsql-hackers

From Daniel Verite
Subject Re: \crosstabview fixes
Date
Msg-id 87049ba4-7044-42be-bf22-270941e443a8@mm
Whole thread Raw
In response to Re: \crosstabview fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: \crosstabview fixes
List pgsql-hackers
    Tom Lane wrote:

> > "Daniel Verite" <daniel@manitou-mail.org> writes:
> >> To avoid the confusion between "2:4" and "2":"4" or 2:4,
> >> and the ambiguity with a possibly existing "2:4" column,
> >> maybe we should abandon this syntax and require the optional
> >> scolH to be on its own at the end of the command.
>
> > That would be OK with me; it's certainly less of a hack than what's
> > there now.  (I went back and forth about how much effort to put into
> > dealing with the colon syntax; I think the version I have in my patch
> > would be all right, but it's not perfect.)
>
> Here's a patch along those lines.  Any objections?

Checking http://www.postgresql.org/docs/devel/static/app-psql.html ,
I notice that the last example is still using the syntax for arguments
that has been deprecated by commit 6f0d6a507, as discussed in this
thread.
A fix to psql-ref.sgml is attached.

Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite

Attachment

pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: old_snapshot_threshold's interaction with hash index
Next
From: Kohei KaiGai
Date:
Subject: textlike under the LIKE operator for char(n)