py-mysql2pgsql icon indicating copy to clipboard operation
py-mysql2pgsql copied to clipboard

Quoting for table names

Open axl8713 opened this issue 11 years ago • 2 comments

My PostgreSQL 9.3 complained about table names in the generated .sql file. I had to add quotes around table names in functions

def column_comment(self, tablename, column)

and

def write_constraints(self, table)

Thanks.

axl8713 avatar Jul 23 '14 08:07 axl8713

What version are you using? There were some patches lately...

kworr avatar Aug 28 '14 07:08 kworr

I've downloaded the code from GitHub.

axl8713 avatar Aug 28 '14 08:08 axl8713