|
26 | 26 | * |
27 | 27 | * |
28 | 28 | * IDENTIFICATION |
29 | | - * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.44 1998/02/26 04:31:09 momjian Exp $ |
| 29 | + * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.45 1998/02/27 08:43:52 vadim Exp $ |
30 | 30 | * |
31 | 31 | *------------------------------------------------------------------------- |
32 | 32 | */ |
|
54 | 54 | #include"catalog/heap.h" |
55 | 55 | #include"commands/trigger.h" |
56 | 56 |
|
| 57 | +void |
| 58 | +ExecCheckPerms(CmdTypeoperation,intresultRelation,List*rangeTable, |
| 59 | +Query*parseTree); |
57 | 60 |
|
58 | 61 |
|
59 | 62 | /* decls for local routines only used within this module */ |
60 | | -staticvoid |
61 | | -ExecCheckPerms(CmdTypeoperation,intresultRelation,List*rangeTable, |
62 | | -Query*parseTree); |
63 | 63 | staticTupleDesc |
64 | 64 | InitPlan(CmdTypeoperation,Query*parseTree, |
65 | 65 | Plan*plan,EState*estate); |
@@ -273,14 +273,7 @@ ExecutorEnd(QueryDesc *queryDesc, EState *estate) |
273 | 273 | BufferRefCountRestore(estate->es_refcount); |
274 | 274 | } |
275 | 275 |
|
276 | | -/* =============================================================== |
277 | | - * =============================================================== |
278 | | - static routines follow |
279 | | - * =============================================================== |
280 | | - * =============================================================== |
281 | | - */ |
282 | | - |
283 | | -staticvoid |
| 276 | +void |
284 | 277 | ExecCheckPerms(CmdTypeoperation, |
285 | 278 | intresultRelation, |
286 | 279 | List*rangeTable, |
@@ -376,6 +369,13 @@ ExecCheckPerms(CmdType operation, |
376 | 369 | } |
377 | 370 | } |
378 | 371 |
|
| 372 | +/* =============================================================== |
| 373 | + * =============================================================== |
| 374 | + static routines follow |
| 375 | + * =============================================================== |
| 376 | + * =============================================================== |
| 377 | + */ |
| 378 | + |
379 | 379 |
|
380 | 380 | /* ---------------------------------------------------------------- |
381 | 381 | *InitPlan |
|