4 The catalog pg_attrdef stores column default expressions and generation
5 expressions. The main information about columns is stored in
6 pg_attribute. Only columns for which a default expression or generation
7 expression has been explicitly set will have an entry here.
9 Table 52.6. pg_attrdef Columns
19 adrelid oid (references pg_class.oid)
21 The table this column belongs to
23 adnum int2 (references pg_attribute.attnum)
25 The number of the column
29 The column default or generation expression, in nodeToString()
30 representation. Use pg_get_expr(adbin, adrelid) to convert it to an SQL