Fix output string to create IDENTITY sequence#1193
Fix output string to create IDENTITY sequence#1193c2main wants to merge 1 commit intoIvorySQL:masterIvorySQL/IvorySQL:masterfrom
Conversation
was "NO NULL" insteaf of "ON NULL"
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughA single-line text adjustment in pg_dump.c corrects the SQL output for identity columns with DEFAULT identity and ON NULL settings, changing the generated DDL from "BY DEFAULT NO NULL" to "BY DEFAULT ON NULL" for accurate SQL representation. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for the fix! |
was "NO NULL" insteaf of "ON NULL".
no test added, though it outlines the pg_dump/pg_restore CI is maybe not efficient enough.
Summary by CodeRabbit
BY DEFAULT ON NULLsyntax instead of the previously incorrectBY DEFAULT NO NULL.