]> git.mjollnir.org Git - moodle.git/commit
Since PostgreSQL 7.4 the precision given for float columsn is
authorstronk7 <stronk7>
Sun, 20 Aug 2006 18:19:50 +0000 (18:19 +0000)
committerstronk7 <stronk7>
Sun, 20 Aug 2006 18:19:50 +0000 (18:19 +0000)
commitf9543de627b93964dd8c4ef3a864e0e08ad64425
tree36f397f2302fb49fd34898f0b5df4d298d26efbd
parent16f07ff2b0ea8fa3ee55f1c4c65824cbab465ae5
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.
lib/xmldb/classes/generators/postgres7/postgres7.class.php