Developer's Frequently Asked Questions (FAQ) for PostgreSQL
- Last updated: Thu Jan 3 03:20:49 EST 2002
+ Last updated: Fri Feb 1 15:22:54 EST 2002
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
loop through list, assigning each list element to i. It is
important to note that i is a List *, not the data in the List
element. You need to use lfirst(i) to get at the data. Here is
- a typical code snipped that loops through a List containing Var
+ a typical code snippet that loops through a List containing Var
*'s and processes each one:
List *i, *list;
<H1>Developer's Frequently Asked Questions (FAQ) for
PostgreSQL</H1>
- <P>Last updated: Thu Jan 3 03:20:49 EST 2002</P>
+ <P>Last updated: Fri Feb 1 15:22:54 EST 2002</P>
<P>Current maintainer: Bruce Momjian (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
<I>i.</I> It is important to note that <I>i</I> is a List *,
not the data in the <I>List</I> element. You need to use
<I>lfirst(i)</I> to get at the data. Here is a typical code
- snipped that loops through a List containing <I>Var *'s</I>
+ snippet that loops through a List containing <I>Var *'s</I>
and processes each one:
<PRE>
<CODE>List *i, *list;