You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Severity: Not a blocker: This edge case affects robustness but doesn't disrupt overall functionality. While improving data validation or rejecting malformed data would enhance usability, it isn’t critical for the release.
The text was updated successfully, but these errors were encountered:
Do we get a different error when the same insert is run on a Postgres table?
No, we do not get a different error. This error originates from PostgreSQL's handling of invalid UTF-8 sequences. When the same INSERT query with an invalid UTF-8 sequence is run on a plain PostgreSQL table, PostgreSQL raises the exact same error.
SQLancer generates invalid UTF-8 byte sequences, resulting in errors such as:
ERROR: invalid byte sequence for encoding "UTF8": 0xee 0x22 0x20
Steps to Reproduce:
Insert a string with an invalid UTF-8 sequence:
INSERT INTO test_table (name) VALUES (E'\xee\x22\x20');
Expected Behavior:
Queries may validate input data and reject invalid byte sequences gracefully.
Suggested Solution:
Add input validation logic to reject malformed UTF-8 sequences.
Severity:
Not a blocker: This edge case affects robustness but doesn't disrupt overall functionality. While improving data validation or rejecting malformed data would enhance usability, it isn’t critical for the release.
The text was updated successfully, but these errors were encountered: