Skip to content

Add PostgreSQL koans and fix edge cases#3

Open
i-am-the-slime wants to merge 2 commits into
mainfrom
add-postgres-koans
Open

Add PostgreSQL koans and fix edge cases#3
i-am-the-slime wants to merge 2 commits into
mainfrom
add-postgres-koans

Conversation

@i-am-the-slime

@i-am-the-slime i-am-the-slime commented Jul 12, 2026

Copy link
Copy Markdown
Member

Summary

  • add short PostgreSQL koans covering type-level query behavior and observed runtime contracts
  • reject grouped selects whose non-aggregate columns are absent from GROUP BY
  • render inserts with no supplied columns as DEFAULT VALUES
  • make executeSqlOne reject multi-row results instead of silently returning Nothing
  • decode PostgreSQL fractional TIME seconds at millisecond scale

Verification

  • spago test — 103/103 tests passed
  • compile-fail suite — 73/73 cases passed

@i-am-the-slime i-am-the-slime changed the title Add PostgreSQL koans Add PostgreSQL koans and fix edge cases Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant