By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,991 Members | 1,887 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,991 IT Pros & Developers. It's quick & easy.

comparing table structure

P: 1
dump old and new table structures and search for differences... especially in the INDEXes.

Is there any command/script to do the comparision?
Oct 24 '11 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 700
What about \d command, you can use it in psql
Expand|Select|Wrap|Line Numbers
  1. \d old_table
  2. \d new_table
  3.  
Isn't it enough for you?
Nov 5 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.