diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-15 22:36:17 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-15 22:36:17 +0000 |
commit | 1395ac6c67db2f91a78f8f765015ab51ddc03c85 (patch) | |
tree | bf882549cd8372bd85f5ca62a25b26b87e392adb /src/include/bootstrap/bootstrap.h | |
parent | 355865c5a7c76238731fe71071c3cc73427ea570 (diff) | |
download | postgresql-1395ac6c67db2f91a78f8f765015ab51ddc03c85.tar.gz postgresql-1395ac6c67db2f91a78f8f765015ab51ddc03c85.zip |
Add a hack so that get_type_io_data() can work from bootstrap.c's
internal TypInfo table in bootstrap mode. This allows array_in and
array_out to be used during early bootstrap, which eliminates the
former obstacle to giving OUT parameters to built-in functions.
Diffstat (limited to 'src/include/bootstrap/bootstrap.h')
-rw-r--r-- | src/include/bootstrap/bootstrap.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/bootstrap/bootstrap.h b/src/include/bootstrap/bootstrap.h index 807f2766464..6713b6df678 100644 --- a/src/include/bootstrap/bootstrap.h +++ b/src/include/bootstrap/bootstrap.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/bootstrap/bootstrap.h,v 1.42 2006/07/13 16:49:19 momjian Exp $ + * $PostgreSQL: pgsql/src/include/bootstrap/bootstrap.h,v 1.43 2006/08/15 22:36:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -50,6 +50,15 @@ extern char *CleanUpStr(char *s); extern int EnterString(char *str); extern void build_indices(void); +extern void boot_get_type_io_data(Oid typid, + int16 *typlen, + bool *typbyval, + char *typalign, + char *typdelim, + Oid *typioparam, + Oid *typinput, + Oid *typoutput); + extern int boot_yyparse(void); extern int boot_yylex(void); |