public inbox for [email protected]
help / color / mirror / Atom feedFrom: [email protected]
To: [email protected]
Subject: Misleading text mesage
Date: Tue, 07 Jun 2016 06:57:51 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>
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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Misleading text mesage
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox