db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

regdatabase

A new OID alias type for databases, with to_regdatabase for a safe lookup.

task

Return whether to_regdatabase(current_database())::oid equals the oid in pg_database, and whether to_regdatabase('nope') IS NULL.

hints