Skip to content

v0.0.6

Released 2026-11-25. Changes since the previous tag; see the changelog overview for every release.

PostgreSQL hardening. SQL Server deployments behave as before; the one contract addition (the FieldName/Value prefill shape) is opt-in by column naming.

  • Wizard PrefillSql key/value shape. A prefill result with exactly two columns named FieldName and Value (case-insensitive) is read as one field per row, later rows winning on a duplicate name. Use it when field names come from data or configuration — a PostgreSQL function can’t return a dynamic column set. Any other result shape keeps the existing first-row behaviour.
  • Model *.sql files are retried when a dependency sorts later (PostgreSQL). PostgreSQL validates LANGUAGE sql bodies at CREATE time, so a file that calls a function or uses a table/type created by a later file used to fail. Such files (SQLSTATE 42883 / 42P01 / 42704) are now deferred and retried after the rest of the batch while each pass makes progress; anything still failing is reported with its original error. SQL Server resolves names at run time and is unaffected.
  • DatabaseFacade.OpenStandaloneConnectionAsync() opens a provider-matching connection that the caller owns, outside the context’s transaction.
  • Wizards run on PostgreSQL. Prefill, dataset, select-option, SetVariable, ExecuteSQL, before-submission and terminal SQL used a SQL Server connection unconditionally; they now use the configured provider. Boolean variables render as true/false on PostgreSQL (still 1/0 on SQL Server).
  • Stored-procedure row actions on PostgreSQL. Schema, routine and parameter names are quoted so mixed-case names resolve; functions are called with SELECT * FROM, procedures with CALL; arguments bind by the routine’s declared parameter names. On SQL Server the call is unchanged, except that parameters now carry the declared name’s casing.
  • Workflow role / user assignment on PostgreSQL. The by-name lookups used T-SQL (TOP 1, bracketed identifiers); they now go through EF. On SQL Server the match stays case-insensitive (collation); on PostgreSQL it is case-sensitive.
  • Built-in PostgreSQL views. The Users, Workflow definitions and Wizard definitions forms cast untyped text parameters, so create/edit no longer fails with “could not determine data type of parameter”. Adding a report no longer fails (the insert was a DO block, which can’t use bind parameters) and returns the same alerts as on SQL Server.
  • PostgreSQL check constraints authored in SQL Server form ([Column] IS NULL, = 0 on a boolean) are translated like index filters.
  • The wizard-response provisioning check works on PostgreSQL (to_regclass result is read as text).