Suppose I have an xmldoc relation that looks like this:
Column | Type | Modifiers
--------------+-----------------------------+-----------------
docid | integer | not null
create_date | timestamp without time zone | not null
type | text | not null
xml | xml |
Now, let's say I create another table that simply inherits this table without any other columns. How can I say override 'xml' to be of type 'text'?
I am currently getting:
ERROR: cannot alter inherited column "xml"
So how does overriding work in DB inheritance? [In particular, I am using PostgreSQL 8.3]
source
share