public inbox for [email protected]  
help / color / mirror / Atom feed
Misleading text mesage
2+ messages / 2 participants
[nested] [flat]

* Misleading text mesage
@ 2016-06-07 06:57  [email protected]
  0 siblings, 1 reply; 2+ messages in thread

From: [email protected] @ 2016-06-07 06:57 UTC (permalink / raw)
  To: pgsql-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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Misleading text mesage
@ 2016-06-13 14:16  Peter Eisentraut <[email protected]>
  parent: [email protected]
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2016-06-13 14:16 UTC (permalink / raw)
  To: [email protected]; pgsql-docs

On 6/7/16 2:57 AM, [email protected] 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(&quot;Column 1 returned &quot;);

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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-06-13 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07 06:57 Misleading text mesage [email protected]
2016-06-13 14:16 ` Peter Eisentraut <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox