~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to src/pl/plpgsql/src/plpgsql.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *
9
9
 *
10
10
 * IDENTIFICATION
11
 
 *        $PostgreSQL: pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.112 2009/04/19 21:50:09 tgl Exp $
 
11
 *        $PostgreSQL: pgsql/src/pl/plpgsql/src/plpgsql.h,v 1.113 2009/06/11 14:49:14 momjian Exp $
12
12
 *
13
13
 *-------------------------------------------------------------------------
14
14
 */
405
405
        int                     lineno;
406
406
        PLpgSQL_expr *t_expr;           /* test expression, or NULL if none */
407
407
        int                     t_varno;                /* var to store test expression value into */
408
 
        List       *case_when_list;     /* List of PLpgSQL_case_when structs */
 
408
        List       *case_when_list; /* List of PLpgSQL_case_when structs */
409
409
        bool            have_else;              /* flag needed because list could be empty */
410
410
        List       *else_stmts;         /* List of statements */
411
411
} PLpgSQL_stmt_case;
588
588
 
589
589
typedef struct
590
590
{                                                               /* RAISE statement option */
591
 
        int             opt_type;
 
591
        int                     opt_type;
592
592
        PLpgSQL_expr *expr;
593
593
} PLpgSQL_raise_option;
594
594
 
822
822
                                           PLpgSQL_type *dtype,
823
823
                                           bool add2namespace);
824
824
extern PLpgSQL_rec *plpgsql_build_record(const char *refname, int lineno,
825
 
                                                                                 bool add2namespace);
826
 
extern int      plpgsql_recognize_err_condition(const char *condname,
827
 
                                                                                        bool allow_sqlstate);
 
825
                                         bool add2namespace);
 
826
extern int plpgsql_recognize_err_condition(const char *condname,
 
827
                                                                bool allow_sqlstate);
828
828
extern PLpgSQL_condition *plpgsql_parse_err_condition(char *condname);
829
829
extern void plpgsql_adddatum(PLpgSQL_datum *new);
830
830
extern int      plpgsql_add_initdatums(int **varnos);
871
871
extern void plpgsql_ns_pop(void);
872
872
extern void plpgsql_ns_additem(int itemtype, int itemno, const char *name);
873
873
extern PLpgSQL_nsitem *plpgsql_ns_lookup(const char *name1, const char *name2,
874
 
                                                                                 const char *name3, int *names_used);
 
874
                                  const char *name3, int *names_used);
875
875
extern PLpgSQL_nsitem *plpgsql_ns_lookup_label(const char *name);
876
876
extern void plpgsql_ns_rename(char *oldname, char *newname);
877
877