Re: Generated names (suffix) for constraints not described in docs

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Generated names (suffix) for constraints not described in docs
Дата
Msg-id CAKAnmmJ_9OQoB03qp_FekFSDN9ntqsdnb4JzvzKmyWbZixspKA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Generated names (suffix) for constraints not described in docs  (""Сергей П (SergeiDos)"" <podrezov.sergey@gmail.com>)
Список pgsql-docs
On Thu, Nov 14, 2024 at 3:32 AM "Сергей П (SergeiDos)" <podrezov.sergey@gmail.com> wrote: 
It would be logical if we formed the rules for our database developers identical to the internal automatic rules for forming names in the database, so that developers who choose the path of automatic name formation would receive the same result as those who set it manually in accordance with the described rules.

I think if you want a specific, known, name, you should set it yourself. As stated earlier, the name itself is not important and the algorithm is subject to change - the fact that the name is based off of the table is a courtesy.

If there were no way to name your own object, I'd be more sympathetic to this request, but automatic naming is quite avoidable.

Cheers,
Greg

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