Skip to main content

Module ddl

Module ddl 

Source
Expand description

Bootstrap DDL statement builders for PostgreSQL provisioning.

CREATE USER / CREATE DATABASE / GRANT run before the target database exists, so they cannot bind parameters; identifiers and literals are escaped here instead. Statement execution stays in the setup wizard.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Functions§

build_create_db_sql
build_create_user_sql
build_grant_sql
quote_ident
quote_literal