Re: limit table to one row

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: limit table to one row
Дата
Msg-id h0ll6v$90o$8@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на limit table to one row  (Brandon Metcalf <brandon@geronimoalloys.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Block_Size on NTFS
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Move PGdata to a different drive