MichaelDBA/pg_get_tabledef

NOT NULL is being appended twice

alaister opened this issue · 1 comments

Hi Michael,

I'm seeing NOT NULL being appended twice for GENERATED ALWAYS AS IDENTITY and GENERATED BY DEFAULT AS IDENTITY columns.

I think this is due to the code here and here, as NOT NULL is then appended again here.

Thanks!

Fixed, Please retest. Thanks for the report!