Re: Generated names (suffix) for constraints not described in docs - Mailing list pgsql-docs

From Greg Sabino Mullane
Subject Re: Generated names (suffix) for constraints not described in docs
Date
Msg-id CAKAnmmJ_9OQoB03qp_FekFSDN9ntqsdnb4JzvzKmyWbZixspKA@mail.gmail.com
Whole thread Raw
In response to Re: Generated names (suffix) for constraints not described in docs  (""Сергей П (SergeiDos)"" <podrezov.sergey@gmail.com>)
List 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 by date:

Previous
From: "sheng yan"
Date:
Subject: Website Document Search Disadvantages for Article Titles
Next
From: PG Doc comments form
Date:
Subject: wal_compression = on: what is the algorithm?