Re: limit table to one row - Mailing list pgsql-general

From Jasen Betts
Subject Re: limit table to one row
Date
Msg-id h0ll6v$90o$8@reversiblemaps.ath.cx
Whole thread Raw
In response to limit table to one row  (Brandon Metcalf <brandon@geronimoalloys.com>)
List pgsql-general
On 2009-06-04, Brandon Metcalf <brandon@geronimoalloys.com> 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 a unique index, and a constraint to a single value on one of
the columns :)


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Block_Size on NTFS
Next
From: Jasen Betts
Date:
Subject: Re: Move PGdata to a different drive