db/postgres_url.ts view source
(stderr: string, database: string): boolean import {is_createdb_already_exists} from '@fuzdev/fuz_app/db/postgres_url.js'; Whether createdb's stderr is its refusal of a database that already
exists — Postgres's database "<name>" already exists, which createdb
prints after database creation failed: ERROR:. The text is the server's,
in its lc_messages, so only an English refusal is recognized.
stderr
what createdb wrote to stderr
stringdatabase
the database it was asked to create
stringreturns
boolean