Re: [GENERAL] [pgsql-general] Daily digest v1.9081 (14 messages)

2009-06-11 Thread David Fetter
On Mon, Jun 08, 2009 at 08:08:02PM +0100, Oliver Kohll - Mailing Lists wrote: > On 8 Jun 2009, at 17:23, Merlin Moncure wrote: > Is there a way when creating a table to limit it to one row? That is, without using a stored procedure? I searched the documentation, but did

Re: [GENERAL] [pgsql-general] Daily digest v1.9081 (14 messages)

2009-06-08 Thread Oliver Kohll - Mailing Lists
On 8 Jun 2009, at 17:23, Merlin Moncure wrote: Is there a way when creating a table to limit it to one row? That is, without using a stored procedure? I searched the documentation, but didn't find anything. CREATE TABLE x (...); CREATE UNIQUE INDEX x_only_one_row ON ((1)); very cleve