Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
postgresql database
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2008 at 19:23 UTC
Updated:
11 Dec 2008 at 03:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedComment #2
swentel commentedSeems like there's another one: Call to undefined method DatabaseSchema_pgsql::_processField()
Comment #3
damien tournoud commentedComment #4
swentel commentedAll succeed except 7 fails on schema api
Insert with a default succeeded. Other schema.test 50 SchemaTestCase->testSchema()
Insert into the new table succeeded. Other schema.test 62 SchemaTestCase->testSchema()
Two fields were successfully inserted. Other schema.test 66 SchemaTestCase->testSchema()
Insert with a serial succeeded. Other schema.test 80 SchemaTestCase->testSchema()
Insert with a serial succeeded. Other schema.test 82 SchemaTestCase->testSchema()
The serial is monotone. Other schema.test 84 SchemaTestCase->testSchema()
There were two rows. Other schema.test 87 SchemaTestCase->testSchema()
Comment #5
swentel commentedOk, patch contains 3 other very small fixes in schema.test which makes all database tests pass,
HOWEVER, someone with more postgres skills should find out why those small fixes make them pass and why a default value of 0 makes it fail ..
Comment #6
damien tournoud commentedWell, no, you will not modify the test case to satisfy the PostgreSQL driver!
Comment #7
swentel commentedI know, I should have marked it CNW also, just wanted to point out with the patch where the failures were :)
Comment #8
damien tournoud commentedThis should be better.
Comment #9
swentel commentedLast patch makes all Databases tests pass, so marking rtbc
Comment #10
grub3 commentedYes it works like a charm.
Comment #11
grub3 commentedWhat is the impact of this bug on database creation under PostgreSQL?
Should I delete the Drupal7 database and create a new one from scratch?
Comment #12
dries commentedCommitted to CVS HEAD. Thanks! :)
Comment #13
damien tournoud commentedComment #14
serenecloud commentedAgreed with the above. After applying http://drupal.org/node/337794 and this patch I am able to run all simpletests on php5, apache2, postgres 8.1 without this error:
Final Simpletest output: