Search Postgresql Archives

refactoring: changing tables names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to change some table names, substitute some with views and
duplicate others.

As a first experiment I was planning to create a view that clone a
table and then rename the occurrences of the table name with the
view where needed finally change the definition of the view.

Am I going to incur in any significant slowdown accessing the table
indirectly?

Later I'll have to rename tables that have associated sequences,
pk/fk and are referenced in functions etc... etc...

Any good list of advices?

Is there any tools that works with postgresql that can help me?

thanks

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux