Thread: Geometric function example results

Geometric function example results

From
Thom Brown
Date:
Hi,

I noticed that there are no example outputs shown on the geometric
functions page (http://www.postgresql.org/docs/9.0/static/functions-geometry.html).
 So I've attached a patch which adds them.  I'm not entirely sure to
make of the 2 example outputs that are very large, but they're
included anyway.

Are these worth adding?

Thanks

Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

Re: Geometric function example results

From
Thom Brown
Date:
On 23 June 2011 13:09, Thom Brown <thom@linux.com> wrote:
> Hi,
>
> I noticed that there are no example outputs shown on the geometric
> functions page (http://www.postgresql.org/docs/9.0/static/functions-geometry.html).
>  So I've attached a patch which adds them.  I'm not entirely sure to
> make of the 2 example outputs that are very large, but they're
> included anyway.
>
> Are these worth adding?

Any opinions on this?

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Geometric function example results

From
Tom Lane
Date:
Thom Brown <thom@linux.com> writes:
> I noticed that there are no example outputs shown on the geometric
> functions page (http://www.postgresql.org/docs/9.0/static/functions-geometry.html).
>  So I've attached a patch which adds them.  I'm not entirely sure to
> make of the 2 example outputs that are very large, but they're
> included anyway.

I think this is unworkable, because those tables are already so wide
they barely fit on a page.  This will certainly not work for PDF output,
and I don't think it'll look very nice in HTML either.

            regards, tom lane

Re: Geometric function example results

From
Thom Brown
Date:
On 1 July 2011 19:19, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thom Brown <thom@linux.com> writes:
>> I noticed that there are no example outputs shown on the geometric
>> functions page (http://www.postgresql.org/docs/9.0/static/functions-geometry.html).
>>  So I've attached a patch which adds them.  I'm not entirely sure to
>> make of the 2 example outputs that are very large, but they're
>> included anyway.
>
> I think this is unworkable, because those tables are already so wide
> they barely fit on a page.  This will certainly not work for PDF output,
> and I don't think it'll look very nice in HTML either.

Yeah, you're probably right.  I didn't even think about the PDF
representation, so I guess that's more than enough reason to leave out
such examples.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company