Query failed: ERROR: duplicate key violates unique constraint "event_pkey"
stodge - June 26, 2009 - 12:54
| Project: | Event |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
I created an event with start/end date but no times for a custom content type and I got an error:
warning: pg_query() [function.pg-query]: Query failed: ERROR: duplicate key violates unique constraint "event_pkey" in /var/www/sites/pm/includes/database.pgsql.inc on line 139.
user warning: query: INSERT INTO event (nid, event_start, event_end, timezone, start_in_dst, end_in_dst, has_time, has_end_date) VALUES (73, '2009-06-26 8:53:00', '2009-06-29 8:53:00', 116, 0, 0, 0, 1) in /var/www/sites/pm/sites/all/modules/event/event.module on line 2378.
#1
I need some pgsql guy to tell me what's wrong here.