Hi,
Well in the Zeos.inc file there is:
{$IFNDEF ZEOS_DISABLE_POSTGRESQL}
{$DEFINE ENABLE_POSTGRESQL}
{$ENDIF}
Is there other file where we define ZEOS_DISABLE_POSTGRESQL or we should do it in the Zeos.inc file ?
Thanks
Howto disable support in TZConnection/TZDataset
Moderators: gto, EgonHugeist, olehs
-
- Fresh Boarder
- Posts: 15
- Joined: 13.01.2009, 09:20
-
- Fresh Boarder
- Posts: 15
- Joined: 13.01.2009, 09:20
Hi all,
Well I have found the answer myself by testing.
I have to modify 3 files, included inside the 7z archive.
For the modification in the Zeos.inc file, I think it is more easy now to enable/disable any database support.
Hope this will help a little.
Well I have found the answer myself by testing.
I have to modify 3 files, included inside the 7z archive.
For the modification in the Zeos.inc file, I think it is more easy now to enable/disable any database support.
Hope this will help a little.
You do not have the required permissions to view the files attached to this post.
Last edited by andresayang on 13.05.2009, 23:21, edited 1 time in total.
-
- Fresh Boarder
- Posts: 15
- Joined: 13.01.2009, 09:20
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
andresayang,
Did you try using my proposal : setting the defines at project level? That way you can en/disable the supported databases per project while installing all supported databases in your IDE.
Concerning your changes to the D2009 packages... at the moment I don't get it compiled using these files because of pending changes in my working copy. I hope to get that fixed soon.
Mark
Did you try using my proposal : setting the defines at project level? That way you can en/disable the supported databases per project while installing all supported databases in your IDE.
Concerning your changes to the D2009 packages... at the moment I don't get it compiled using these files because of pending changes in my working copy. I hope to get that fixed soon.
Mark
-
- Fresh Boarder
- Posts: 15
- Joined: 13.01.2009, 09:20
Mark,
Well your proposal is really a better solution.
I have already done those change when you reply and i have post the working files after. (simply because i think it is how it should be: disabling a database support with the Zeos.inc file was failing the compilation).
However the size drop is quite insignificant so i think i will leave the Zeos.inc unchanged.
Thanks.
Well your proposal is really a better solution.
I have already done those change when you reply and i have post the working files after. (simply because i think it is how it should be: disabling a database support with the Zeos.inc file was failing the compilation).
However the size drop is quite insignificant so i think i will leave the Zeos.inc unchanged.
Thanks.