Merge pull request #17863 from tgxworld/fix_extracated_default_value_for_negative_integers

Fix value extracted from negative integers for PostgreSQL.