PostgreSQL-related scripts and notes.