Recent

Author Topic: SQLdb vs Zeos for Postgresql  (Read 3067 times)

mikib

  • Newbie
  • Posts: 4
SQLdb vs Zeos for Postgresql
« on: August 26, 2016, 11:48:35 am »
Hi,
i'm starting a project with PostgreSQL and i ask me which components are better.
Lazarus 1.6-FPC 3, Zeos 7.1.4-stable, Windows 10-64, PostgreSQL 9.5.
Thanks
« Last Edit: August 26, 2016, 11:50:24 am by mikib »

Thaddy

  • Hero Member
  • *****
  • Posts: 14382
  • Sensorship about opinions does not belong here.
Re: SQLdb vs Zeos for Postgresql
« Reply #1 on: August 26, 2016, 12:03:00 pm »
Hi,
i'm starting a project with PostgreSQL and i ask me which components are better.
Lazarus 1.6-FPC 3, Zeos 7.1.4-stable, Windows 10-64, PostgreSQL 9.5.
Thanks
Depends on your needs. If it is only postgress in the future stick with the default components that are provided as standard.
These tend to be more stable and looks often faster to me.
Zeos is way more flexible but not always stable even if they say so.
My experience is mixed:
For some versions that is absolutely true, for some versions it isn't...
That's why, with regrets, I don't use it anymore, but still test it.
You should do the same.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

miab3

  • Full Member
  • ***
  • Posts: 145
Re: SQLdb vs Zeos for Postgresql
« Reply #2 on: August 26, 2016, 01:05:51 pm »
In the case of ZEOS I suggest to use the version:

ZEOS 7.2 svn 3929:
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.2/

or

Zeos 7.3-beta(plus OleDB, ODBC) svn 3918(3929):
http://sourceforge.net/p/zeoslib/code-0/HEAD/tree/branches/testing-7.3/

There are two years newer than 7.1.4-stable.

Michal
« Last Edit: August 26, 2016, 02:31:31 pm by miab3 »

regs

  • Jr. Member
  • **
  • Posts: 53
Re: SQLdb vs Zeos for Postgresql
« Reply #3 on: August 26, 2016, 04:02:45 pm »
Can't say on PostgreSQL, but i had some occasional access violations on executing Firebird queries with Zeos compiled for i386-win32. No problem was on 64 bit win32 and with Linux. So I ended up with SQLdb. Had it's own problems with virtual columns. But that was Firebird wrapper and it was manageable with casts.
« Last Edit: August 26, 2016, 04:07:07 pm by regs »

mikib

  • Newbie
  • Posts: 4
Re: SQLdb vs Zeos for Postgresql
« Reply #4 on: August 30, 2016, 06:53:55 pm »
Thanks for reply, i update Zeos and make some tests.

 

TinyPortal © 2005-2018