Home » U++ Library support » U++ SQL » Schema files, layouts
Schema files, layouts [message #53387] |
Wed, 01 April 2020 04:48  |
|
Hi all-
I noticed you can't 'redefine' a schema model with the same table identifiers.
Do you recommend one schema file per db? In postgres, there is the concept of separate schemas within a db.
I thought I read a while back that there is a limit to number of layouts to 5 per .lay file.
If you have a decent sized postgresql application, how can you organize it, so that your files can all use postgresql with the same database in U++?
I tried to run separate code files for postgresql and the linker is not happy.
The SqlApp example only uses 1 schema and 1 layout file.
Any cool tips are very much appreciated.
Thanks,
roboloki
|
|
|
Re: large exe size [message #53388 is a reply to message #53387] |
Wed, 01 April 2020 05:08   |
|
Hi all-
I am not concerned about the size of the executable. I picked this old thread because it has to do with the size of the project but not really the size of the executable, which I found out is actually quite small, for one of Mireks mammoth projects.
I hope Mirek isn't angry !
Have a cool upcoming weekend,
roboloki
|
|
|
Re: large exe size SOLVED [message #53389 is a reply to message #53388] |
Wed, 01 April 2020 05:24   |
|
HI all-
I will only have one main header file with all the postgresql stuff in it, and then if I want to have more than one .cpp file, I think I can include a postgres.h (main file) in all my *.cpp files as an include.
I will see if I can break the schemas out of public if I need to another day soon.
I know some of you guys are professional anglers (from the movie Training Day). I will try to limit my questions.
Sorry guys,
thnx,
later roboloki
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 17:48:31 CEST 2025
Total time taken to generate the page: 0.02953 seconds
|