Skip to content

postgres, quote table names when fetching the primary key (#5920) #7850

Merged
merged 1 commit into from Oct 6, 2012

2 participants

@senny
Ruby on Rails member
senny commented Oct 4, 2012

quote the table name when fetching the primary key information for a postgres table.

@senny
Ruby on Rails member
senny commented Oct 4, 2012

@steveklabnik I quoted the table name to fetch the primary key information.

@tenderlove I did not search for other occurrences where the table name appears unquoted. Do you think this patch is enough to get AR working with capital letter tables?

@rafaelfranca
Ruby on Rails member

I think is enough.

Could you change the commit message to:

PostgreSQL, quote table names when fetching the primary key. Closes #5920
@senny
Ruby on Rails member
senny commented Oct 5, 2012

@rafaelfranca the commit message is updated and the branch is rebased.

@rafaelfranca rafaelfranca merged commit 9b496d3 into rails:master Oct 6, 2012
@rafaelfranca
Ruby on Rails member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.