list macro names - Mailing list pgsql-hackers

From Bruce Momjian
Subject list macro names
Date
Msg-id 199808280451.AAA13280@candle.pha.pa.us
Whole thread Raw
Responses Re: [HACKERS] list macro names
List pgsql-hackers
I will, of course, be running pgindent on the source just before beta.

I would also like to change a few of list macro names that I can never
remember, and I am sure others have the same problem.

---------------------------------------------------------------------------

lappend is good

lcons should be ladd (adds to the front of the list, while lappend adds to end

nconc should be lconcat, because it concats two lists

lconsi becomes ladd_int

lappendi becomes lappend_int

nreverse becomes lreverse

set_difference becomes set_difference_int

---------------------------------------------------------------------------

What do people think?

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] initdb problem
Next
From: Bruce Momjian
Date:
Subject: initdb/vacuum fixes