pgsql: Improve comments for AdjustIntervalForTypmod.

Поиск
Список
Период
Сортировка
Искать

pgsql: Improve comments for AdjustIntervalForTypmod.

От:
momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Log Message:
-----------
Improve comments for AdjustIntervalForTypmod.

Blank line adjustments.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        nabstime.c (r1.134 -> r1.135)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/nabstime.c.diff?r1=1.134&r2=1.135)
        selfuncs.c (r1.183 -> r1.184)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.183&r2=1.184)
        timestamp.c (r1.131 -> r1.132)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c.diff?r1=1.131&r2=1.132)
    pgsql/src/interfaces/ecpg/pgtypeslib:
        dt_common.c (r1.24 -> r1.25)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/dt_common.c.diff?r1=1.24&r2=1.25)
        interval.c (r1.22 -> r1.23)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/interval.c.diff?r1=1.22&r2=1.23)
        timestamp.c (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/timestamp.c.diff?r1=1.26&r2=1.27)

Re: pgsql: Improve comments for AdjustIntervalForTypmod.

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
momjian@svr1.postgresql.org (Bruce Momjian) writes:
> Improve comments for AdjustIntervalForTypmod.
> Blank line adjustments.

BTW, every one of those bizarre spacings you just fixed was introduced
by pgindent; so you are wasting your time unless you also fix pgindent.

			regards, tom lane

Re: pgsql: Improve comments for AdjustIntervalForTypmod.

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Tom Lane wrote:
> momjian@svr1.postgresql.org (Bruce Momjian) writes:
> > Improve comments for AdjustIntervalForTypmod.
> > Blank line adjustments.
> 
> BTW, every one of those bizarre spacings you just fixed was introduced
> by pgindent; so you are wasting your time unless you also fix pgindent.

Oh, I didn't realize that was broken.  pgindent fixed.  I already had
code in there to fix blank lines before #endif, and I just extended it
to #else.  Thanks.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
FAQ