Repository navigation
Conversation
…OT NULL list The legacy COPY form's reading writes the FORCE NOT NULL list's second item out, and with distinct list items it was numbered past the copied list's columns, naming c3, which COPY does not copy. The item now has its own placeholder, filled with c2. The eleven obligations whose targets spell the item move to new ids, and the reading's NOT suppression follows the new target.
… cases The reading's reason now states the copied-column restriction as the server's observed refusal (42P10) rather than as something the page documents.
Approves pg.dml.copy.pre-9-0-from against the pinned sql-copy page and the evidence pin 6d4a57ee, with every required obligation met.
… NOT NULL obligations
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
After distinct list items (#530), the legacy COPY form wrote its
FORCE NOT NULLlist's second item asc3, a column the copied list( c1 , c2 )does not contain. PostgreSQL refuses that (42P10: FORCE_NOT_NULL column "c3" not referenced by COPY), so the case was not testing the syntax honestly.Changes
limits.toml: thepg.dml.copy.pre-9-0-fromreading writes the item as<copied_column_name>, filled withc2. Its reason says the restriction is observed server behaviour, not documented on the page. The NOT suppression follows the new target.postgres:18.6, matching).baseline.jsonre-recorded.Verification
--checkagainst the pin: 0 stale.