Re: Query Plan Columns
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: "David E. Wheeler" <david@kineticode.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-05T22:03:20Z
Lists: pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> 960 ExplainPropertyFloat("Plan Rows", plan->plan_rows, 0, es);
>>
>> Should rows really be a float?
> Yeah, since PropertyInteger is 32-bit.
Yes, plan_rows is a float. We might need to represent very large
values, and we do not need high accuracy, so it's really the right type.
regards, tom lane