From: Pavan D. <pav...@gm...> - 2013-01-31 09:36:36
|
On Thu, Jan 31, 2013 at 2:59 PM, Michael Paquier <mic...@gm...> wrote: > On Thu, Jan 31, 2013 at 6:04 PM, Xiong Wang <wan...@gm...> wrote: >> >> I wrote a simple patch which will show distribution information when you >> use \d tablename command. > > I vote no for that with ¥d. I agree it is useful, but it makes the output > inconsistent with vanilla Postgres. And I am sure it creates many failures > in regression tests. It has been discussed before to use either a new > command with a word or a letter we'll be sure won't be in conflict with > vanilla now and at some point in the future. Something like "¥distrib" > perhaps? How about (yet another) GUC, such as conform_pg_output ? If set to true, commands will print only pg style information. But if set to false, various commands may print a lot more XC-specific information. The regression can be run with the GUC turned ON. I'm not sure what should be the default. But it will make a lot of sense to keep it OFF by default. This way, those who are coming from PG world don't need to learn new commands. Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee |