~ubuntu-branches/debian/sid/postgresql-9.3/sid

« back to all changes in this revision

Viewing changes to src/pl/plpython/plpy_planobject.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 05:39:52 UTC
  • Revision ID: package-import@ubuntu.com-20130508053952-1j7uilp7mjtrvq8q
Tags: upstream-9.3~beta1
ImportĀ upstreamĀ versionĀ 9.3~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * src/pl/plpython/plpy_planobject.h
 
3
 */
 
4
 
 
5
#ifndef PLPY_PLANOBJECT_H
 
6
#define PLPY_PLANOBJECT_H
 
7
 
 
8
#include "executor/spi.h"
 
9
#include "plpy_typeio.h"
 
10
 
 
11
 
 
12
typedef struct PLyPlanObject
 
13
{
 
14
        PyObject_HEAD
 
15
        SPIPlanPtr      plan;
 
16
        int                     nargs;
 
17
        Oid                *types;
 
18
        Datum      *values;
 
19
        PLyTypeInfo *args;
 
20
} PLyPlanObject;
 
21
 
 
22
extern void PLy_plan_init_type(void);
 
23
extern PyObject *PLy_plan_new(void);
 
24
extern bool is_PLyPlanObject(PyObject *ob);
 
25
 
 
26
#endif   /* PLPY_PLANOBJECT_H */