Adding custom constraints on a postgres database

Поиск
Список
Период
Сортировка
От Debraj Manna
Тема Adding custom constraints on a postgres database
Дата
Msg-id CAF6DVKMxbfsuK65SgrNdoBnhWdmx86Sku+Th1e5-QQWx_oncRg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Adding custom constraints on a postgres database  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
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.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump blocks insert update on table
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Adding custom constraints on a postgres database