~aglenyoung/+junk/postgres-9.3-dtrace

« back to all changes in this revision

Viewing changes to src/include/utils/plancache.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Christoph Berg, Martin Pitt
  • Date: 2013-06-26 15:13:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130626151332-p34yjpn0txbdsdzd
Tags: 9.3~beta2-1
[ Christoph Berg ]
* hurd-i386: Ignore testsuite failures so we have a working libpq5 (they
  don't implement semaphores so the server won't even start).
* Mark postgresql-9.3 as beta in the description, suggested by Joshua D.
  Drake.

[ Martin Pitt ]
* New upstream release 9.3 beta2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 * allows the query tree to be discarded easily when it is invalidated.
62
62
 *
63
63
 * Some callers wish to use the CachedPlan API even with one-shot queries
64
 
 * that have no reason to be saved at all.  We therefore support a "oneshot"
65
 
 * variant that does no data copying or invalidation checking.  In this case
 
64
 * that have no reason to be saved at all.      We therefore support a "oneshot"
 
65
 * variant that does no data copying or invalidation checking.  In this case
66
66
 * there are no separate memory contexts: the CachedPlanSource struct and
67
67
 * all subsidiary data live in the caller's CurrentMemoryContext, and there
68
 
 * is no way to free memory short of clearing that entire context.  A oneshot
 
68
 * is no way to free memory short of clearing that entire context.      A oneshot
69
69
 * plan is always treated as unsaved.
70
70
 *
71
71
 * Note: the string referenced by commandTag is not subsidiary storage;
143
143
                                 const char *query_string,
144
144
                                 const char *commandTag);
145
145
extern CachedPlanSource *CreateOneShotCachedPlan(Node *raw_parse_tree,
146
 
                                 const char *query_string,
147
 
                                 const char *commandTag);
 
146
                                                const char *query_string,
 
147
                                                const char *commandTag);
148
148
extern void CompleteCachedPlan(CachedPlanSource *plansource,
149
149
                                   List *querytree_list,
150
150
                                   MemoryContext querytree_context,