limit the number of entries in a table

Поиск
Список
Период
Сортировка
От Schnack, Malte
Тема limit the number of entries in a table
Дата
Msg-id 4041F5C624D2D411ACE90002B32C40CAA03910@exchange.mediascape.de
обсуждение исходный текст
Список pgsql-novice
Hello all,

is there any possibility to limit the number in a postgresql
table in the way that: if a new entry is inserted and the
limit is exceeded the oldest element is dropped.

Does anybody know how to have this problem handled by
postgresql-engine?

Thanks for your advice and best regards

malte.

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

Предыдущее
От: "Joseph"
Дата:
Сообщение: function question
Следующее
От: Jason Earl
Дата:
Сообщение: Re: Knowing new item in table...