Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Like this, it's pretty common way to use Postgres (with multiple schemas):

  CREATE SCHEMA a;

  CREATE SCHEMA b;

  CREATE TABLE a.foo (id SERIAL PRIMARY KEY);

  CREATE TABLE b.foo (id SERIAL PRIMARY KEY);


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: