There is no good reason for the CREATE TABLE LIKE INCLUDING COMMENTS code to
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Dec 2009 18:28:14 +0000 (18:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Dec 2009 18:28:14 +0000 (18:28 +0000)
commitcb05f5388d81ff35e00162764b66683e00b7be0d
tree149452d7f7e6e6bb02512ac0d9cd05f8e1e56cc3
parent7d672e1e1db1b85b0b1e1c7e47d12059a57457fb
There is no good reason for the CREATE TABLE LIKE INCLUDING COMMENTS code to
have hard-wired knowledge of the rules for naming index columns.  It can
just look at the actual names in the source index, instead.  Do some minor
formatting cleanup too.
src/backend/parser/parse_utilcmd.c