Postgresql doesn't need any client dll?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Postgresql doesn't need any client dll?

Post by brace » Wed 16 Jun 2010 13:54

By looking at
http://www.devart.com/unidac/
on PostgreSQL there is a "direct" connection to unidac,

does this mean that an application made with UniDac and PostgreSQL provider will work on a fresh installation of Windows without the need of installing any client library (like for example it is needed for Firebird)?

If this is true I have to consider supporting PostreSQL instead of Firebird.

hughespa
Posts: 81
Joined: Sat 23 Aug 2008 08:36
Location: W. Australia

Post by hughespa » Wed 16 Jun 2010 14:09

I've been using UniDAC with both SQL Server and PostgreSQL and not added any additional drivers for Pg.

I was actually going to use FB too but have gone with Pg

Regards, Paul.

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Wed 16 Jun 2010 15:01

Hello

PgDAC and UniDAC with PostgreSQL provider can connect to PostgreSQL database without any client DLL's.

If you are interested in working with PostgreSQL database without client DLL's then you can download the trial version and test it.

brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Post by brace » Wed 16 Jun 2010 17:13

Thanks to both. So very good news, this is a plus of Postgresql vs firebird.

One note: MS SQL server works without dll is not really true, it works because the native client is installed in every windows machine...

brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Post by brace » Fri 18 Jun 2010 14:49

I finally was able to build a sample Postgresql application.

I wanted to test the no-need-of-dll so I tried to run the exe from another machine but I have this message:

"
UniDAC Trial version needs additional "bpl" files to be present on the user PC.
If you build your project without run-time packages you need:
dac120.bpl
unidac120.bpl
"

I fon't have those files, it is not possible so with the trial run the exe on a mahcine that doesn't have unidac installed?

Moreover: is it possible to upgrade from SDAC to UNIDAC or UNIDAC is a totally different product. I mean are there upgrade policies (=discounts)?

Thanks.

hughespa
Posts: 81
Joined: Sat 23 Aug 2008 08:36
Location: W. Australia

Post by hughespa » Sat 19 Jun 2010 01:58

I'm pretty sure the first time I used the demo version, I had those files and was able to put them on another test PC whilst I tried my test application on the other PC.
Are you sure you don't have them in the windows\system32 folder
or under the UniDAC folders? (possibly your Delphi bpl folder)

When you buy the release version you won't need to distribute these, it is only the demo version that requires them.

Regards, Paul.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 21 Jun 2010 09:17

brace wrote:I wanted to test the no-need-of-dll so I tried to run the exe from another machine but I have this message:
"
UniDAC Trial version needs additional "bpl" files to be present on the user PC.
If you build your project without run-time packages you need:
dac120.bpl
unidac120.bpl
"
It is a trial limitation of UniDAC to use the following bpl's, even if it is built without run-time packages:
dac120, unidac120, rtl, dbrtl, vcl, vcldb.
You can find detailed information about it in the "Deployment" topic of UniDAC Help.
In order to solve the problem you should use non-trial edition.

Post Reply