Use escaped $$ delimiters inside the SQL block so PowerShell does not treat them as interpolation and break init_pg on first-run setup.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use ${...} interpolation in init_pg output to avoid InvalidVariableReferenceWithDrive when rendering user:password@host:port.
Co-authored-by: Cursor <cursoragent@cursor.com>
Provide a Windows init script to create/repair the netx role and database with a connection check, and document the step in README so new machines avoid initial auth failures.
Co-authored-by: Cursor <cursoragent@cursor.com>