Re: Limiting Row Count In a Table??

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Limiting Row Count In a Table??
Дата
Msg-id 18578.1038842915@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Limiting Row Count In a Table??  (Çağıl Şeker <cagils@biznet.com.tr>)
Список pgsql-general
=?iso-8859-9?B?x2Hw/Wwg3mVrZXI=?= <cagils@biznet.com.tr> writes:
> I want my table to have only one row, if any other row is inserted or this one row is deleted it should give an error
andwon't let it go. 

Why don't you put in the one row, and then REVOKE insert and delete
privileges from everyone (including yourself)?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Uro¹ Gruber
Дата:
Сообщение: deny list databases
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: PostgreSQL Version 7.3 Released! (repost)