Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING

Поиск
Список
Период
Сортировка
От Bertrand Drouvot
Тема Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING
Дата
Msg-id ZoJP5kjTFbZa7gQS@ip-10-97-1-34.eu-west-3.compute.internal
обсуждение исходный текст
Ответы Re: Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING
Re: Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING
Список pgsql-hackers
Hi hackers,

While working on a rebase for [1] due to 0cecc908e97, I noticed that
CheckRelationLockedByMe() and CheckRelationOidLockedByMe() are used only in
assertions.

I think it would make sense to declare / define those functions only for
assert enabled build: please find attached a tiny patch doing so.

Thoughts?

[1]: https://www.postgresql.org/message-id/flat/ZiYjn0eVc7pxVY45%40ip-10-97-1-34.eu-west-3.compute.internal

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Conflict Detection and Resolution
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING