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

Re: road.thepath no longer in pg_stats?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: road.thepath no longer in pg_stats?
Date: 2010-04-28 00:32:41
Message-ID: 29793.1272414761@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I just noticed that the road.thepath column in the regression database
> is no longer in pg_stats for some reason after ANALYZE, so the example
> in section 14.2 in the docs (Statistics Used by the Planner) is now
> wrong.

It's an old example :-( ... a quick check shows no version since 7.3
generates stats for that column.

> but this is failing because of missing values for that column, as well
> as there being two rows for the column that is there (stainherint=f
> producing the other one)

Two rows are expected now, since that table has children --- there
should be one for inherited = t and one for inherited = f.  Probably
wouldn't hurt to explain that explicitly here.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-04-28 00:47:32
Subject: Re: Schema.Table.Col resolution seems broken in Alpha5
Previous:From: Robert HaasDate: 2010-04-28 00:20:02
Subject: Re: providing tokenized version of parsed SQL script (was: nodeToString format and exporting the SQL parser)

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