Misleading text mesage

Started by Nonamealmost 10 years ago2 messagesdocs
Jump to latest
#1Noname
javier.diaz.soto@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/7.4/static/jdbc-query.html
Description:

In https://www.postgresql.org/docs/7.4/static/jdbc-query.html
System.out.print("Column 1 returned ");

This is good from the POV of the person running the code but misleading from
the POV of learning what a ResultSet does: it should probably say or comment
ROW 1 returned.

Another thing I hope gets shown in code examples later: in general, closing
should be done in try-finally or try with resources (Java 7 +)

Oops sorry about my previous comment. I thought I was presenting myself ...
:)

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Noname (#1)
Re: Misleading text mesage

On 6/7/16 2:57 AM, javier.diaz.soto@gmail.com wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/7.4/static/jdbc-query.html
Description:

In https://www.postgresql.org/docs/7.4/static/jdbc-query.html
System.out.print("Column 1 returned ");

7.4 is no longer maintained. Please see https://jdbc.postgresql.org/
for the current JDBC web site.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs