Skip to main content

SQL 0.1.1 reference

Source commit cbff27b8a34e1384384018680e46c20d5c610cc9. Signatures, argument defaults, and result types were extracted from a database containing this SQL release; behavioral contracts and examples are authored and reviewed separately.

Start with SQL conventions, Errors, Notifications and polling, or Schema and storage. The SQL walkthrough demonstrates an application claim-and-acknowledge flow with SDK equivalents.

The examples use an isolated scratch database and psql with ON_ERROR_STOP enabled. Mutation examples generally roll back. Functions with global scope still take real locks and must not be treated as harmless production probes. Use the task guides for operational procedures.

Discovery​

  • info — Report installed schema compatibility.

Topics and queues​

Publishing and claiming​

Settlement and renewal​

Inspection​

Recovery and deletion​

Maintenance​

The internal distribution trigger is not a public callable API. SQL reference examples document SQL functions; developer task guides provide Go, Rust, and TypeScript equivalents.