Re: unhelpful error message - Mailing list pgsql-bugs

From Tom Lane
Subject Re: unhelpful error message
Date
Msg-id 8969.1245340801@sss.pgh.pa.us
Whole thread Raw
In response to Re: unhelpful error message  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: unhelpful error message  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-bugs
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Per the fine manual, sp.count is another way of writing count(sp).

> Wow, that seems a horrid kludge.  Is the standard responsible for that
> one, or is it a PostgreSQL extension?

Actually, we inherited that from PostQUEL.  It's not in the standard.

> Could you point me at where in the fine manual this is covered?

Look under "computed fields" in the index ... looks like it's towards
the bottom of 34.4.2 in the 8.3 docs.
http://www.postgresql.org/docs/8.3/static/xfunc-sql.html#AEN40267

I had thought it was mentioned somewhere in chapter 4 as well, but
am not seeing it there right now.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: unhelpful error message
Next
From: "Regina"
Date:
Subject: BUG #4860: Indexes gone after restore