Merlin Moncure <mmoncure@xxxxxxxxx> writes: > On Thu, Jun 4, 2009 at 4:13 PM, Brandon > Metcalf<brandon@xxxxxxxxxxxxxxxxxx> wrote: >> Is there a way when creating a table to limit it to one row? That is, >> without using a stored procedure? > you can also do it with a trigger. If you're willing to use a trigger, just insert the one allowed row and then install a trigger that throws error for any insert or delete attempt ... regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general