on how to replicate table through PostgreSQL databases
how to set a simple trigger on a PostgreSQL table
what flags to use with psql
how to fix serial sequences on PostgreSQL tables