Re: [HACKERS] Deprecating RULES

2012-10-14 Thread Stirling Newberry
On Oct 14, 2012, at 12:35 PM, Tom Lane wrote: Simon Riggs si...@2ndquadrant.com writes: On 12 October 2012 19:48, Greg Stark st...@mit.edu wrote: On Fri, Oct 12, 2012 at 7:55 AM, Simon Riggs si...@2ndquadrant.com wrote: AFAICS all RULEs can be re-expressed as Triggers or Views. This is a

Re: [HACKERS] CREATE SCHEMA IF NOT EXISTS

2012-10-02 Thread Stirling Newberry
This case points to a weakness in many programming languages, not having a clear ifof (if and only if) versus if construction. The sane use case for create schema foo if not exists object is for building a database dynamically, where several points may be the first to put a table in a schema,