DEV Community

Discussion on: Clone schema in PostgreSQL

Collapse
 
kartoffelfee profile image
Jörg Thomsen

great function, thanks

I had to add quote_ident( befor the sequence and table names becaus of a bad names in my db.

25: SELECT QUOTE_IDENT(sequence_name::text) FROM ...
32: SELECT QUOTE_IDENT(table_name::text) FROM ...

Collapse
 
renatosuero profile image
Renato Suero

thanks for your info, it will help others :)