Closed (duplicate)
Project:
Drupal core
Version:
5.x-dev
Component:
postgresql database
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Nov 2006 at 10:05 UTC
Updated:
30 Nov 2006 at 06:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
dries commentedCare to explain why? How to reproduce?
Comment #2
Keymone commentedi've installed drupal on postgresql database and just tried to upload file (after enabling upload module)
drupal produced error
Message pg_query() [function.pg-query]: Query failed: ERROR: relation `drupal_files_fid_seq` does not exist in D:\Keymone\www\drupal\includes\database.pgsql.inc on line 125.
Severity error
and
Message query: SELECT nextval('drupal_files_fid_seq') in D:\Keymone\www\drupal\includes\database.pgsql.inc on line 144.
Severity error
Comment #3
sammys commentedI concur this is a bug. The patch supplied applies, but it doesn't constrain the serial field to a positive integer. Have attached the patch with that corrected. RTBC!
Comment #4
dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
sammys commentedThis hasn't been resolved in HEAD actually. It appears you may have patched another branch? Another two issues have been filed about this and my latest update from HEAD doesn't have this patch applied. The other issue is at http://drupal.org/node/100143. I'm marking this as a duplicate.