|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.25 1998/09/01 04:26:55 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.26 1998/09/02 23:05:21 momjian Exp $ |
11 | 11 | *
|
12 | 12 | * INTERFACE ROUTINES
|
13 | 13 | *index_open- open an index relation by relationId
|
@@ -190,23 +190,7 @@ index_insert(Relation relation,
|
190 | 190 | specificResult= (InsertIndexResult)
|
191 | 191 | fmgr(procedure,relation,datum,nulls,heap_t_ctid,heapRel,NULL);
|
192 | 192 |
|
193 |
| -/* ---------------- |
194 |
| - *the insert proc is supposed to return a "specific result" and |
195 |
| - *this routine has to return a "general result" so after we get |
196 |
| - *something back from the insert proc, we allocate a |
197 |
| - *"general result" and copy some crap between the two. |
198 |
| - * |
199 |
| - *As far as I'm concerned all this result shit is needlessly c |
200 |
| - *omplicated and should be eliminated. -cim 1/19/91 |
201 |
| - * |
202 |
| - *mao concurs. regardless of how we feel here, however, it is |
203 |
| - *important to free memory we don't intend to return to anyone. |
204 |
| - *2/28/91 |
205 |
| - * |
206 |
| - *this "general result" crap is now gone. -ay 3/6/95 |
207 |
| - * ---------------- |
208 |
| - */ |
209 |
| - |
| 193 | +/* must be pfree'ed */ |
210 | 194 | returnspecificResult;
|
211 | 195 | }
|
212 | 196 |
|
|