[Rails-core] Re: PostgreSQL schema dumper does not support capitalized table names

2009-04-05 Thread Scott Woods
Ticket #390 just got resolved and committed, which implements more complete table name quoting than I had: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/390-postgres-adapter-quotes-table-name-breaks-when-non-default-schema-is-used However, that patch still doesn't quote tab

[Rails-core] Re: PostgreSQL schema dumper does not support capitalized table names

2009-04-05 Thread Scott Woods
On Apr 5, 5:17 pm, Isak Hansen wrote: > You're not quoting the schema name? Correct. Apparently the schema name should not be included in the quotes. Here's an example (PostgreSQL 8.2.11): test=# create schema schema_test create table "CamelCase" (id integer primary key); NOTICE: CREATE TABLE

[Rails-core] Re: PostgreSQL schema dumper does not support capitalized table names

2009-04-05 Thread Isak Hansen
On Sun, Apr 5, 2009 at 1:40 AM, Scott Woods wrote: > > We have a legacy database that has been migrated to PostgreSQL and > includes camel-case table names. When running migrations, the schema > dumper throws an error when it encounters these tables. I believe I've > created and tested the proper