[solved]DateTimeError - PostgreSQL

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
fhaut
Junior Boarder
Junior Boarder
Posts: 29
Joined: 10.04.2009, 15:55

[solved]DateTimeError - PostgreSQL

Post by fhaut »

@all

In D2009, PostgreSQL 9.3, Zeos Testing 7.2 Rev. 2858

Issue 1:
On open connection with no user name get Access Violation

Issue 2:
Error on get DateTime, sometimes returned date is '30/12/1899'

In attachment a sample project that simulates the error, there is a video file recorded in ScreenToExe in Zip with name "ZeosRefresh2.exe"
ZeosTimeField.zip
You do not have the required permissions to view the files attached to this post.
Last edited by fhaut on 24.10.2013, 01:14, edited 1 time in total.
Image
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: DateTimeError - PostgreSQL

Post by EgonHugeist »

Thanks for the sample project.

Got both issues resolved. Patch done R2869 \testing-7.2

Added testcase too. The issue was the additional timezone, which PG returns for Now(): "2013-10-23 12:31:52.48+02"
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
fhaut
Junior Boarder
Junior Boarder
Posts: 29
Joined: 10.04.2009, 15:55

[solved]Re: DateTimeError - PostgreSQL

Post by fhaut »

@EgonHugeist

:prog2: Solved!

thank you
Image
Post Reply