Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix adding column with NULL constraint #5152

Commits on Jan 5, 2023

  1. Fix adding column with NULL constraint

    Adding new column with NULL constraint to a compressed hypertable is
    raising an error but it make no sense because NULL constraints in
    Postgres does nothing, I mean it is useless and exist just for
    compatibility with other database systems:
    https://www.postgresql.org/docs/current/ddl-constraints.html#id-1.5.4.6.6
    
    Fixed it by ignoring the NULL constraints when we check for `ALTER TABLE
    .. ADD COLUMN ..` to a compressed hypertable.
    
    Fixes timescale#5151
    fabriziomello committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    401f81b View commit details
    Browse the repository at this point in the history