Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
postgresql database
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2010 at 03:37 UTC
Updated:
14 Jun 2010 at 04:59 UTC
Interesting that this never was picked up way earlier than now but the syntax for altering a column in PostgreSQL in wrong in the PostgreSQL driver :(
According to the 8.1 docs (http://www.postgresql.org/docs/8.3/static/sql-altertable.html) SET cannot be used to set the value of rows in a column. which is what the current driver attempts to do.
I think what happened was the driver was ported to handle the typecasting stuff but the actual content migration stuff failed until recently when a test was created to test it.
Attached is a patch that works. Test bots will pass it cause there are no postgreSQL test bots to test this :(
But I have test it and it does work.
| Comment | File | Size | Author |
|---|---|---|---|
| pgsql-fix-db_change_field.patch | 1.59 KB | josh waihi |
Comments
Comment #1
catch#761976: DatabaseSchema_pgsql::changeField() is broken