Search found 13 matches

by Michl
12.07.2021, 20:15
Forum: ZeosLib 7.3/8.0 Forum
Topic: Close before Open
Replies: 42
Views: 1874

Re: Close before Open

Thank you for your answers! Yes I'm sure, with Zeos 7.2, it was possible to open the query with a active query. (I've set up two Lazarus versions, one with Zeos 7.2, one with Zeos Trunk. As I don't know where the problem came from and the data is not human readable, the debugger wasn't helpfull to s...
by Michl
11.07.2021, 21:00
Forum: ZeosLib 7.3/8.0 Forum
Topic: Close before Open
Replies: 42
Views: 1874

Close before Open

Hi, after a day of reduction of a old big app of mine, I was able to figure out, that I forgot a ZQuery.Close before a ZQuery.Open. With Zeos 7.2, there it is no problem, when you don't close the query. In Zeos 8.0 or Trunk, there is the problem, that the query isn't refreshed. I don't know, if this...
by Michl
25.03.2021, 10:23
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with FormatBcd
Replies: 3
Views: 395

Re: Problem with FormatBcd

Hello EgonHugeist,

just tested trunk version. There is now everything fine!!

Thank you very much!
by Michl
25.03.2021, 09:35
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with FormatBcd
Replies: 3
Views: 395

Re: Problem with FormatBcd

Hello EgonHugeist, thank you very much for your fast response and your hints! Sorry for late reply, I was struggling with a other issue, so I couldn't test this. [Edit] Next problem is fixed in Trunk! So you can ignore it! [/Edit] Not sure, if I should now open a bug tracker issue or post here?! Now...
by Michl
11.03.2021, 23:59
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with FormatBcd
Replies: 3
Views: 395

Problem with FormatBcd

I see in https://zeoslib.sourceforge.io/viewtopic.php?f=50&t=131587&p=164419&hilit=FormatBCD#p164419, there is already a bug report for FPC FormatBcd. I have a similar problem, but not the same, so I create a new topic. I changed a big project from old Zeos trunk version to current 8.0 p...
by Michl
30.12.2020, 13:50
Forum: ZeosLib 7.3/8.0 Forum
Topic: [solved] Connection to Postgres failed.
Replies: 2
Views: 322

Re: Connection to Postgres failed.

Yeah cool! That's it. Thank you very much! Now it is working again.
by Michl
29.12.2020, 20:28
Forum: ZeosLib 7.3/8.0 Forum
Topic: [solved] Connection to Postgres failed.
Replies: 2
Views: 322

[solved] Connection to Postgres failed.

Hi, hope it's not a FAQ, but I don't found a answer yet. I already asked in German Lazarusforum: https://www.lazarusforum.de/viewtopic.php?f=17&t=13323 I've tried to update a project with a newer Zeos. In a minimal example I try following: procedure TForm1.FormCreate(Sender: TObject); begin FZCo...
by Michl
04.11.2014, 22:01
Forum: ZeosLib 7.2 Forum
Topic: 7.2 testers-thread
Replies: 514
Views: 125726

Re: 7.2-Beta testers-thread

I would try the last Zeos-trunc r3467, with Win7 64bit, Lazarus 1.3 r46752M FPC 2.7.1 r28983 32bit. I got a compiler-error: ZDbcAdo.pas(61,60) Fatal: Kann Unit ZPlainAdoDriver nicht finden verwendet von ZDbcAdo von Package zdbc. (I tryed to compile this unit - without a postive result) I tryed some ...
by Michl
01.07.2014, 21:35
Forum: ZeosLib 7.2 Forum
Topic: Patch for PSQL Accessviolation
Replies: 3
Views: 1206

Re: Patch for PSQL Accessviolation

I've updated my zeos and make some tests. In that tests and in my project it seems to work. :D

Thank you for your work! Now I have not to patch zeos, when I should reinstall my Lazarus, very nice! :loveit:
by Michl
06.04.2014, 12:31
Forum: ZeosLib 7.2 Forum
Topic: Patch for PSQL Accessviolation
Replies: 3
Views: 1206

Patch for PSQL Accessviolation

I have received an access violation because a column was inserted into a table. See topic http://zeoslib.sourceforge.net/viewtopic.php?f=38&t=11384 The reason was that an active connection has not registered that the metadata has changed, because all TableInfos are cached - for performance reaso...
by Michl
04.04.2014, 16:31
Forum: ZeosLib 7.1 stable Forum
Topic: [done] SIGSEGV by use Zeos 7.1.3a / Postgres 9.3 / Lazarus
Replies: 2
Views: 1993

Re: SIGSEGV by use Zeos 7.1.3a / Postgres 9.3 / Lazarus

Its a bug/feature by caching tables. I clear that cache not fine but its useable for me: function TZPGTableInfoCache.GetTableInfo(const TblOid: Oid): PZPGTableInfo; var Idx: Integer; begin SetLength(FTblInfo, 0); //Clear cache here Idx := GetTblPos(TblOid); if (Idx = -1) then begin if (TblOid <> Inv...
by Michl
03.04.2014, 13:12
Forum: ZeosLib 7.1 stable Forum
Topic: [done] SIGSEGV by use Zeos 7.1.3a / Postgres 9.3 / Lazarus
Replies: 2
Views: 1993

Re: SIGSEGV by use Zeos 7.1.3a / Postgres 9.3 / Lazarus

Hello again, I am now fairly sure that this a bug in Zeos. The same minimalistic example with SQLdb as Connection and Query don't show this behavior. I've also tested with Zeos-trunc-7.2, the bug is also there. Maybe I have to tell you something more: This works: 1. test whether the column of table ...
by Michl
01.04.2014, 13:10
Forum: ZeosLib 7.1 stable Forum
Topic: [done] SIGSEGV by use Zeos 7.1.3a / Postgres 9.3 / Lazarus
Replies: 2
Views: 1993

[done] SIGSEGV by use Zeos 7.1.3a / Postgres 9.3 / Lazarus

Hi there, I got a SIGSEGV, that I can't explain. The best way is, if someone has installed Lazarus, Postgres 9.3, Zeos to download my little example, there you can see it. You just have to insert your Postgres-Password and Path in Class-header, then it should run. The bug comes, when you delete Conn...