Skip site navigation (1) Skip section navigation (2)

Another pgindent gripe

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Another pgindent gripe
Date: 2001-06-05 05:18:05
Message-ID: 14413.991718285@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Why does pgindent sometimes insert whitespace into the return type
part of a function definition?  Here's an example from the last
pgindent run:

RCS file: /home/projects/pgsql/cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -c -r1.103 -r1.104
*** pgsql/src/backend/optimizer/plan/createplan.c       2001/01/24 19:42:58     1.103
--- pgsql/src/backend/optimizer/plan/createplan.c       2001/03/22 03:59:36     1.104
***************
*** 1493,1499 ****
        return make_sort(sort_tlist, lefttree, numsortkeys);
  }
  
! Material *
  make_material(List *tlist, Plan *lefttree)
  {
        Material   *node = makeNode(Material);
--- 1495,1501 ----
        return make_sort(sort_tlist, lefttree, numsortkeys);
  }
  
! Material   *
  make_material(List *tlist, Plan *lefttree)
  {
        Material   *node = makeNode(Material);


			regards, tom lane

Responses

pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2001-06-05 08:16:06
Subject: RE: Imperfect solutions
Previous:From: Tom LaneDate: 2001-06-05 04:29:20
Subject: Re: Mirrors not tracking main ftp site?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group