]> granicus.if.org Git - postgresql/commit
> Huh, I don't know where I got the idea you were (or someone else was?)
authorBruce Momjian <bruce@momjian.us>
Sat, 19 Oct 2002 02:09:45 +0000 (02:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 19 Oct 2002 02:09:45 +0000 (02:09 +0000)
commitcabad378fcda93902b64993df547bc173228fcab
tree6c0027393f45921559725ee1d36851df2cfe8714
parentbab3d29fbab48e803e9dec09733a388aa1bbba22
> Huh, I don't know where I got the idea you were (or someone else was?)
> in the position that attislocal should be reset.  I'll clean everything
> up and submit the patch I had originally made.

All right, this is it.  This patch merely checks if child tables have
the column.  If atttypid and atttypmod are the same, the attributes'
attinhcount is incremented; else the operation is aborted.  If child
tables don't have the column, recursively add it.

attislocal is not touched in any case.

Alvaro Herrera
src/backend/commands/tablecmds.c