Re: [DOCS] Partitioning documentation example

2008-01-05 Thread Bruce Momjian
bruce wrote: > Simon, I was looking at the new table partitioning documentation that > recommends triggers: > > > http://developer.postgresql.org/pgdocs/postgres/ddl-partitioning.html#DDL-PARTITIONING-IMPLEMENTATION > > and came upon this trigger function example: > > CREATE OR REPL

Re: [DOCS] Partitioning documentation example

2008-01-05 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Because my EXECUTE example didn't work I have created a new example > using date_trunc(), which I think is less error-prone than the > comparisons done in the original example: This is not an improvement either. You can't represent the check constraints

Re: [DOCS] Partitioning documentation example

2008-01-05 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Because my EXECUTE example didn't work I have created a new example > > using date_trunc(), which I think is less error-prone than the > > comparisons done in the original example: > > This is not an improvement either. You can't rep