Header And Logo

PostgreSQL
| The world's most advanced open source database.

tablefunc.h

Go to the documentation of this file.
00001 /*
00002  * contrib/tablefunc/tablefunc.h
00003  *
00004  *
00005  * tablefunc
00006  *
00007  * Sample to demonstrate C functions which return setof scalar
00008  * and setof composite.
00009  * Joe Conway <[email protected]>
00010  * And contributors:
00011  * Nabil Sayegh <[email protected]>
00012  *
00013  * Copyright (c) 2002-2013, PostgreSQL Global Development Group
00014  *
00015  * Permission to use, copy, modify, and distribute this software and its
00016  * documentation for any purpose, without fee, and without a written agreement
00017  * is hereby granted, provided that the above copyright notice and this
00018  * paragraph and the following two paragraphs appear in all copies.
00019  *
00020  * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
00021  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
00022  * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
00023  * DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
00024  * POSSIBILITY OF SUCH DAMAGE.
00025  *
00026  * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
00027  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
00028  * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
00029  * ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
00030  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
00031  *
00032  */
00033 
00034 #ifndef TABLEFUNC_H
00035 #define TABLEFUNC_H
00036 
00037 #include "fmgr.h"
00038 
00039 /*
00040  * External declarations
00041  */
00042 extern Datum normal_rand(PG_FUNCTION_ARGS);
00043 extern Datum crosstab(PG_FUNCTION_ARGS);
00044 extern Datum crosstab_hash(PG_FUNCTION_ARGS);
00045 extern Datum connectby_text(PG_FUNCTION_ARGS);
00046 extern Datum connectby_text_serial(PG_FUNCTION_ARGS);
00047 
00048 #endif   /* TABLEFUNC_H */