DDC-1667: UniqueConstraint without a 'name' attribute generates Syntax error under postgre #2093

Closed
opened 2026-01-22 13:40:32 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 24, 2012).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user azer:

UniqueConstraints without a 'name' attribute generates syntax error on PGSQL ( no error on MSQL )

got a " Syntax error: 7 ERROR: syntax error at or near "ON" "

took me little time to figure out ... :)

Edit: That was using anotations.

Originally created by @doctrinebot on GitHub (Feb 24, 2012). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user azer: UniqueConstraints without a 'name' attribute generates syntax error on PGSQL ( no error on MSQL ) got a " Syntax error: 7 ERROR: syntax error at or near "ON" " took me little time to figure out ... :) Edit: That was using anotations.
admin added the Improvement label 2026-01-22 13:40:32 +01:00
admin closed this issue 2026-01-22 13:40:32 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 3, 2012):

Comment created by @guilhermeblanco:

Fixed in a47e566382

@doctrinebot commented on GitHub (Mar 3, 2012): Comment created by @guilhermeblanco: Fixed in https://github.com/doctrine/doctrine2/commit/a47e5663828d54852ff67251acef8bdab0c331c8
Author
Owner

@doctrinebot commented on GitHub (Mar 3, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 3, 2012): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Mar 3, 2012):

Comment created by @beberlei:

Merged into 2.2

@doctrinebot commented on GitHub (Mar 3, 2012): Comment created by @beberlei: Merged into 2.2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2093