Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ sqlcj: Invalid query 'ListTags' in /home/dev/project/queries.sql at line 5: Colu
Schema snapshot input:

- `ReferenceServiceIntegrationTest.shouldGenerateIdenticalRepositoriesFromHistorySnapshotAndDump`
applies the reference service's ten migrations to PostgreSQL 16 with `psql`,
applies the reference service's eleven migrations to PostgreSQL 16 with `psql`,
runs `pg_dump --schema-only` against the migrated database, and generates one
byte-identical, compiling output tree, manifest included, from the migration
history, the hand-written snapshot, and that dump.
Expand Down
22 changes: 22 additions & 0 deletions docs/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -1540,3 +1540,25 @@ Generated Java:
`java.util.List` import, and
`PostgresIntegrationTest.shouldRoundTripArrayValues` executes them against
PostgreSQL 16.

Reference service:

- `ReferenceServiceIntegrationTest.shouldExecuteTheGeneratedMilestoneQueryShapes`
executes the reference service's dynamic sort in both of its modes and a cast
page with an offset, its `EXISTS` and `IN (SELECT ...)` membership checks and
its scalar subquery, its composite-key join and the filtered left join that
names only a live assignee, its untargeted `ON CONFLICT DO NOTHING`, its
`ON CONFLICT ON CONSTRAINT ... DO UPDATE ... WHERE` that skips an unchanged
role, its conflict-target predicate over a partial unique index, and the
aliased `RETURNING` of an optimistic update, against PostgreSQL 16 through the
generated repository.
- `ReferenceServiceIntegrationTest.shouldRejectEachUnsupportedCatalogueQuery`
covers the whole located diagnostic line, and the absence of generated
output, of every entry of the reference service's unsupported query
catalogue: the two set operations, the `RIGHT`, `FULL`, `USING`, `NATURAL`,
`CROSS`, comma, and `LATERAL` joins, a common table expression used as a
source, a `FROM` subquery, a multi-row `VALUES`, an `INSERT ... SELECT`, an
`UPDATE ... FROM`, a `DELETE ... USING`, an uncast `lower(:email)`, and a
placeholder beside a subscripted column, and
`ReferenceServiceIntegrationTest.shouldCatalogueExactlyTheUnsupportedQueryFiles`
covers that the catalogue directory holds exactly those queries.
Loading
Loading