Re: How to create unique constraint on NULL columns
От
Michael Schmidt
Тема
Re: How to create unique constraint on NULL columns
Дата
Msg-id
BAY101-DAV12809A20C96F25A74A08D1A3D30@phx.gbl
Список
Дерево обсуждения
Re: How to create unique constraint on NULL columns "Andrus" <eetasoft@online.ee>
I was faced with a similar issue. One suggestion I got from the Internet was to create a shadow column that contains the values used in the Index, with a dummy entry (in my case, the string <NULL>) for those records in which the primary column is NULL. It works well for my app.
В списке pgsql-general по дате отправления