17.9.08

Patching / Editing Symfony 1.0.10 for PostgreSQL's Multiple Schema

I will just post here what had been posted at a different forum, I can't remember where. But this patch had been useful to me to add functionality of PostgreSQL's Schema to be seen and used inside symfony.

symfonyMultipleSchemasPatch-1.0.10.patch

8.9.08

Automated psql from the command line

So I will not forget how to do this.

To run my script in postgres without logging in:

I set the environment variables $PGHOST $PGUSER $PGPASSWORD $PGDATABASE

then run the postgresql script : psql $PGDATABASE -f sql_script.