pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Documentation for working with PG interval types via JDBC
4+ messages / 2 participants
[nested] [flat]

* Documentation for working with PG interval types via JDBC
@ 2009-03-05 08:57  Александър Шопов <ash@contact.bg>
  0 siblings, 1 reply; 4+ messages in thread

From: Александър Шопов @ 2009-03-05 08:57 UTC (permalink / raw)
  To: pgsql-jdbc

Hi everyone,

PG has an interval data type. Via google searches and the mail
archive[1] I learned that PG jdbc driver has
org.postgresql.util.PGInterval type which however is not listed in the
public API[2].
Is there some documentation on the way it is supposed to be used, how it
is mapped to Java types (it is a PG extension after all), or is my best
shot the source code?

Kind regards:
al_shopov 

[1]
http://groups.google.com/group/pgsql.interfaces.jdbc/browse_thread/thread/c3aab813c0c78c11/3a17a0ed5...
[2] http://jdbc.postgresql.org/documentation/publicapi/index.html




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

* Re: Documentation for working with PG interval types via JDBC
@ 2009-03-06 12:25  Александър Шопов <ash@contact.bg>
  parent: Александър Шопов <ash@contact.bg>
  0 siblings, 1 reply; 4+ messages in thread

From: Александър Шопов @ 2009-03-06 12:25 UTC (permalink / raw)
  To: pgsql-jdbc

Answering my own question:

The source is indeed the proper place. The ant scripts have a special
target for building the javadoc for the private API:

ant privateapi

the docs go into build/privateapi

Kind regards:
al_shopov




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

* Re: Documentation for working with PG interval types via JDBC
@ 2009-03-06 16:17  Kris Jurka <books@ejurka.com>
  parent: Александър Шопов <ash@contact.bg>
  0 siblings, 1 reply; 4+ messages in thread

From: Kris Jurka @ 2009-03-06 16:17 UTC (permalink / raw)
  To: Александър Шопов <ash@contact.bg>; +Cc: pgsql-jdbc



On Fri, 6 Mar 2009, Ð~PлекÑ~AандÑ~JÑ~@ Шопов wrote:

> The source is indeed the proper place. The ant scripts have a special
> target for building the javadoc for the private API:
>

Yes, but you're correct that PGInterval should be in the public API.  I 
will add it to that target when I get the chance.

Kris Jurka


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

* Re: Documentation for working with PG interval types via JDBC
@ 2009-03-12 03:53  Kris Jurka <books@ejurka.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Kris Jurka @ 2009-03-12 03:53 UTC (permalink / raw)
  To: Александър Шопов <ash@contact.bg>; +Cc: pgsql-jdbc



On Fri, 6 Mar 2009, Kris Jurka wrote:

> Yes, but you're correct that PGInterval should be in the public API.  I will 
> add it to that target when I get the chance.

I have made this change in CVS and it will be published to the website 
with the next set of driver releases.

Kris Jurka



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


end of thread, other threads:[~2009-03-12 03:53 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 08:57 Documentation for working with PG interval types via JDBC Александър Шопов <ash@contact.bg>
2009-03-06 12:25 ` Александър Шопов <ash@contact.bg>
2009-03-06 16:17   ` Kris Jurka <books@ejurka.com>
2009-03-12 03:53     ` Kris Jurka <books@ejurka.com>

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