agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] PLJAVA is returning wrong Timestamp (patch is attached)
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] PLJAVA is returning wrong Timestamp (patch is attached)
@ 2011-07-24 16:57  
  0 siblings, 2 replies; 3+ messages in thread

From:  @ 2011-07-24 16:57 UTC (permalink / raw)

Hi,

I found, that pljava is returning wrong Timestamp value (using
preparedStatement and executeQuery)

Returned value: 2008-09-25 12:53:50.000557
Value stored in DB: 2008-09-25 12:53:50.558557+02

Please, is anybody able to commit attached patch and check behaviour of
Timestamp in other cases (update, etc.)?

Thanks in advance!

Petr Mich?lek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20110724/4885848b/attachment.html;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timestamp.diff
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20110724/4885848b/attachment.bin;



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

* [Pljava-dev] PLJAVA is returning wrong Timestamp (patch is attached)
@ 2011-07-28 12:46  
  parent: 
  1 sibling, 0 replies; 3+ messages in thread

From:  @ 2011-07-28 12:46 UTC (permalink / raw)

Petr Mich?lek <michalek.petr at gmail.com> writes:

> Please, is anybody able to commit attached patch and check behaviour
> of Timestamp in other cases (update, etc.)?

I'll be doing that today.


-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/





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

* [Pljava-dev] PLJAVA is returning wrong Timestamp (patch is attached)
@ 2011-08-02 17:23  
  parent: 
  1 sibling, 0 replies; 3+ messages in thread

From:  @ 2011-08-02 17:23 UTC (permalink / raw)

Petr Mich?lek <michalek.petr at gmail.com> writes:

> Hi,
>
> I found, that pljava is returning wrong Timestamp value (using
> preparedStatement and executeQuery)

Fixed in CVS as of src/C/pljava/type/Timestamp.c 1.23


-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/





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


end of thread, other threads:[~2011-08-02 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-07-24 16:57 [Pljava-dev] PLJAVA is returning wrong Timestamp (patch is attached) 
2011-07-28 12:46 ` 
2011-08-02 17:23 ` 

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