Re: Adding custom constraints on a postgres database

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Adding custom constraints on a postgres database
Дата
Msg-id CAKFQuwYej5N-T-6YADf1ZLKAKcQ1Avd7xHozTpcG5g8zY1tNeg@mail.gmail.com
обсуждение исходный текст
Ответ на Adding custom constraints on a postgres database  (Debraj Manna <subharaj.manna@gmail.com>)
Ответы Re: Adding custom constraints on a postgres database
Список pgsql-admin
On Thu, Feb 29, 2024, 11:10 Debraj Manna <subharaj.manna@gmail.com> wrote:
Can someone let me know if there is a way I can add some custom rules/constraints on a Postgres database? 

For example, all tables in a database should have a primary key specified. If someone is trying to violate the rules specified then the SQL command should fail.


David J.

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

Предыдущее
От: Debraj Manna
Дата:
Сообщение: Adding custom constraints on a postgres database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Adding custom constraints on a postgres database