pgsql: Fix List memory issue in transformColumnDefinition

2023-03-30 Thread David Rowley
Fix List memory issue in transformColumnDefinition When calling generateSerialExtraStmts(), we would pass in the constraint->options. In some cases, generateSerialExtraStmts() would modify the referenced List to remove elements from it, but doing so is invalid without assigning the list back to a

pgsql: Fix List memory issue in transformColumnDefinition

2023-03-30 Thread David Rowley
Fix List memory issue in transformColumnDefinition When calling generateSerialExtraStmts(), we would pass in the constraint->options. In some cases, generateSerialExtraStmts() would modify the referenced List to remove elements from it, but doing so is invalid without assigning the list back to a

pgsql: Fix List memory issue in transformColumnDefinition

2023-03-30 Thread David Rowley
Fix List memory issue in transformColumnDefinition When calling generateSerialExtraStmts(), we would pass in the constraint->options. In some cases, generateSerialExtraStmts() would modify the referenced List to remove elements from it, but doing so is invalid without assigning the list back to a

pgsql: Fix List memory issue in transformColumnDefinition

2023-03-30 Thread David Rowley
Fix List memory issue in transformColumnDefinition When calling generateSerialExtraStmts(), we would pass in the constraint->options. In some cases, generateSerialExtraStmts() would modify the referenced List to remove elements from it, but doing so is invalid without assigning the list back to a

pgsql: Fix List memory issue in transformColumnDefinition

2023-03-30 Thread David Rowley
Fix List memory issue in transformColumnDefinition When calling generateSerialExtraStmts(), we would pass in the constraint->options. In some cases, generateSerialExtraStmts() would modify the referenced List to remove elements from it, but doing so is invalid without assigning the list back to a

pgsql: Fix List memory issue in transformColumnDefinition

2023-03-30 Thread David Rowley
Fix List memory issue in transformColumnDefinition When calling generateSerialExtraStmts(), we would pass in the constraint->options. In some cases, generateSerialExtraStmts() would modify the referenced List to remove elements from it, but doing so is invalid without assigning the list back to a