Ildar Musin <il...@adjust.com> writes: > My colleague Chris Travers discovered something that looks like a bug. > Let's say we have a table with a constraint that is declared as NO INHERIT. > ... > Now when we want to make a copy of the table structure into a new table > the `NO INHERIT` option is ignored.
Hm, I agree that's a bug, since the otherwise-pretty-detailed CREATE TABLE LIKE documentation makes no mention of such a difference between original and cloned constraint. However, I'd be disinclined to back-patch, since it's barely possible somebody out there is depending on the existing behavior. regards, tom lane