News for hackers. Stuff that matters.
Re:PostgreSQL tips and tricks by lentil on Sunday May 29, 2011 @06:19PM (#2597767)
Almost all DDL is transactional in PostgreSQL, so the usual equivalent to the above would be:

  begin;
  alter table current rename to current_old;
  alter table current_new rename to current;
  commit;
Transaction-safe DDL is a very handy thing indeed.

There are no comments on this comment yet.