Full error description PDOException: SQLSTATE[22003]: Numeric value out of range: 7 ERROR: setval: value 0 is out of bounds for sequence "user_revision_vid_seq" (1..9223372036854775807): SELECT setval('user_revision_vid_seq', GREATEST(MAX(vid), :serial_value)) FROM {user_revision}; Array ( [:serial_value] => 0 ) in user_revision_install() (line 174 of /sites/all/modules/user_revision/user_revision.install). The website encountered an unexpected error. Please try again later.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | user_revision_2164261_numeric_value_out_of_range.patch | 426 bytes | Drupa1ish |
Comments
Comment #1
Drupa1ish commentedComment #2
Drupa1ish commentedAccording to #1512474: PDOException on PostgreSQL comment #1 and #2
The patch works with MySQL also
Fortunatelly, #2091155: Drupal db abstraction layer fixed other possible erorrs with Postgresql
Comment #3
Drupa1ish commented