You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a column is defined as generated always as identity, the COLUMN_DEF returned by the column_info method is empty. This apparently is correct, since pg_get_expr() does not return anything.
However, this could be a problem with other tools, like DBIx::Schema::Loader that are not able to detect that the column is "attached" to a sequence behind the scenes.
The text was updated successfully, but these errors were encountered:
Fair enough, I should rephrase that it's for us it's treating the column as an autoinc and retrieving the value automatically, so the impact for us has been low. It would be much better if we didn't have to deal with it, however.
When a column is defined as
generated always as identity
, theCOLUMN_DEF
returned by thecolumn_info
method is empty. This apparently is correct, sincepg_get_expr()
does not return anything.However, this could be a problem with other tools, like
DBIx::Schema::Loader
that are not able to detect that the column is "attached" to a sequence behind the scenes.The text was updated successfully, but these errors were encountered: