Re: commented out code

2025-12-09 Thread Chao Li
miscounted. Example: > > ... >StrategyNumber strategy = (StrategyNumber) PG_GETARG_UINT16(2); > >/* Oid subtype = PG_GETARG_OID(3); */ >bool *recheck = (bool *) PG_GETARG_POINTER(4); > ... > > But keeping commented-out code updated with refactorings and style ch

Re: commented out code

2025-12-07 Thread David Geier
>     StrategyNumber strategy = (StrategyNumber) PG_GETARG_UINT16(2); > >     /* Oid  subtype = PG_GETARG_OID(3); */ >     bool   *recheck = (bool *) PG_GETARG_POINTER(4); > ... > > But keeping commented-out code updated with refactorings and style > changes is annoying

Re: commented out code

2025-12-05 Thread Heikki Linnakangas
ategy = (StrategyNumber) PG_GETARG_UINT16(2);     /* Oid  subtype = PG_GETARG_OID(3); */     bool   *recheck = (bool *) PG_GETARG_POINTER(4); ... But keeping commented-out code updated with refactorings and style changes is annoying.  (Also note that pgindent forces the blank line.) On

commented out code

2025-12-05 Thread Peter Eisentraut
T16(2); /* Oid subtype = PG_GETARG_OID(3); */ bool *recheck = (bool *) PG_GETARG_POINTER(4); ... But keeping commented-out code updated with refactorings and style changes is annoying. (Also note that pgindent forces the blank line.) One way to address this is to de-comment that cod