Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why use OIDs?

OIDs
0
Posted

Why use OIDs?

0

Well, because they’re reasonably efficient to search for and they’re non-updateable. They’re automatically created (when you ask for them in the CREATE TABLE). For the code to check you’ve created a serial of the required type in the right place and that you’ve created a unique index and etc… It’s easier just to use OIDs. Yes, they could wrap, but with user tables no longer having OIDs by default this should become less of a problem. Besides, the list of tags shouldn’t change.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123