Re: commented out code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: commented out code
Дата
Msg-id 1711916.1768935331@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: commented out code  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: commented out code
Re: commented out code
Список pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> On 05.12.25 17:38, Heikki Linnakangas wrote:
>> #if 0
>>     Oid      subtype = PG_GETARG_OID(3);
>> #endif
>> 
>> is yet another option. It keeps the indentation, although you won't get 
>> the compiler checking.

> After some reflection, I like this approach.  It keeps the indentation 
> and enables syntax highlighting, so it makes some of these blocks much 
> easier to read.

I think "#ifdef NOT_USED" is our more common style.  +1 other than
that nitpick.

            regards, tom lane



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