stronk7
86bb076fc4
rename_field() under postgresql completed.
2006-10-02 17:02:35 +00:00
stronk7
6c02f04b5a
rename_table() under postgresql completed
2006-10-02 16:27:18 +00:00
stronk7
51517ddc6d
Avoid some double updates under PG
2006-10-01 16:02:09 +00:00
stronk7
1f0c7fae15
Now PG adds fields in various steps is order to fulfill 7.4 min req
2006-10-01 15:48:29 +00:00
stronk7
abf980a587
Now table renaming is working properly on PostgreSQL
...
(only renaming of check constraints are pending)
2006-10-01 08:44:55 +00:00
stronk7
e77fd021e6
Implemented rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:43:16 +00:00
stronk7
b899d9bf1d
Added support to change_field_enum() across all RDBMS
2006-09-30 17:03:17 +00:00
stronk7
9af19c728d
Extendig use of new getTableName() over all generators
2006-09-30 12:13:07 +00:00
stronk7
1a275daaaf
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:31:28 +00:00
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