Please sign in to comment.
Don't assume pg_attribute.attgenerated will always have "s"
The value for pg_attribute.attgenerated will hold "s" for stored generated fields, but this might change in future releases of PostgreSQL. So, we just check for the presence of a value in that field.
- Loading branch information
Showing with 1 addition and 1 deletion.