Jonathan Altman

Dotcom Thousandaire

3 posts tagged with "postgresql"

(March 18, 2013)
tags: chef, devops, postgresql, database, gems, dependencies, technical

I ran across this today while trying to use the chef community database cookbook.  If you want to use it along with a postgresql database to e.g. create databases and create and assign roles to users, then you may need to do the following, at least…

(November 01, 2005)
tags: postgresql, sql, schemas, list, technical

To list the schemas in a postgresql database:

select nspname from pg_namespace;

(November 01, 2005)
tags: postgresql, schemas, rails, multiple, technical

I wanted a nice convenient way to have multiple Rails apps share my single postgresql database but keep all the apps' tables/procs/views/other artifacts isolated from each other. I came up with the following solution, which I can't claim is…