Skip to content
Snippets Groups Projects
  • Alvaro Herrera's avatar
    68043258
    Change syntax of new CHECK NO INHERIT constraints · 68043258
    Alvaro Herrera authored
    The initially implemented syntax, "CHECK NO INHERIT (expr)" was not
    deemed very good, so switch to "CHECK (expr) NO INHERIT" instead.  This
    way it looks similar to SQL-standards compliant constraint attribute.
    
    Backport to 9.2 where the new syntax and feature was introduced.
    
    Per discussion.
    68043258
    History
    Change syntax of new CHECK NO INHERIT constraints
    Alvaro Herrera authored
    The initially implemented syntax, "CHECK NO INHERIT (expr)" was not
    deemed very good, so switch to "CHECK (expr) NO INHERIT" instead.  This
    way it looks similar to SQL-standards compliant constraint attribute.
    
    Backport to 9.2 where the new syntax and feature was introduced.
    
    Per discussion.