To customize PostgreSQL's initialization:
/etc/default/postgresql
To customize PostgreSQL's server configuration:
/etc/postgresql/postgresql.conf