Commit Graph

15 Commits

Author SHA1 Message Date
stronk7
662244cb77 Deleting some parameters that aren't needed anymore. Code will
decide if creating underlying indexes for keys automatically now.
2006-09-28 17:02:49 +00:00
stronk7
812e363a39 Now generators support to add/drop column defaults 2006-09-25 18:22:06 +00:00
stronk7
ff936e2c2d Finally PostgreSQL seems to be working now.... I've tried to do
it as clever as possible detecting when column specs change in
order to reduce the number of temp-update-drop-rename operations
2006-09-24 15:25:49 +00:00
stronk7
b0ec41af8a Prevent Unique Keys generation. Instead use unique indexes at DB level.
With this, all we'll have are PRIMARY KEYS + INDEXES, that are pretty
well supported by ADODB MetaXXX functions.
Both Unique and Foreign Keys will be used once ADODB support them and
the relational mode was enforced.
2006-09-24 09:38:56 +00:00
stronk7
d4b86c90dc Fixed bug about all chars being created with length 255. Penny found this! 2006-09-22 10:15:51 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
stronk7
0dd87cfa7a Delete one trailing comma 2006-09-12 22:15:44 +00:00
stronk7
09942a5ec2 PGs doubles are caller DOUBLE PRECISION 2006-08-25 17:11:43 +00:00
stronk7
860b55463f Normalizing a bit all the float/double generators. 2006-08-22 22:10:09 +00:00
stronk7
c8f85eeeba Reducing the list of PG reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
2006-08-21 12:04:48 +00:00
stronk7
f9543de627 Since PostgreSQL 7.4 the precision given for float columsn is
the number of bits to use, and not the number of decimals. So,
based on the number of decimals from the XMLDB schema, we are
going to create REAL (<6 decimals) or DOUBLE PRECISION (>=6) columns.
2006-08-20 18:19:50 +00:00
stronk7
9dcc6300a7 Now all the XMLDBxxx->geSQL functions return an array of statements to be
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7
6aa7885eb5 Minor adjustments to some comments. 2006-08-16 23:17:28 +00:00
stronk7
ada5648103 Fixing some potential problems with prefixes and object names. 2006-08-16 23:01:46 +00:00
stronk7
2ad7da9bec Initial version of the postgres7 generator 2006-08-16 18:41:47 +00:00