~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to contrib/tablefunc/tablefunc.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * tablefunc
 
3
 *
 
4
 * Sample to demonstrate C functions which return setof scalar
 
5
 * and setof composite.
 
6
 * Joe Conway <mail@joeconway.com>
 
7
 * And contributors:
 
8
 * Nabil Sayegh <postgresql@e-trolley.de>
 
9
 *
 
10
 * Copyright (c) 2002-2005, PostgreSQL Global Development Group
 
11
 *
 
12
 * Permission to use, copy, modify, and distribute this software and its
 
13
 * documentation for any purpose, without fee, and without a written agreement
 
14
 * is hereby granted, provided that the above copyright notice and this
 
15
 * paragraph and the following two paragraphs appear in all copies.
 
16
 *
 
17
 * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
 
18
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
 
19
 * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
 
20
 * DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
 
21
 * POSSIBILITY OF SUCH DAMAGE.
 
22
 *
 
23
 * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
 
24
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 
25
 * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
 
26
 * ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
 
27
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 
28
 *
 
29
 */
 
30
 
 
31
#ifndef TABLEFUNC_H
 
32
#define TABLEFUNC_H
 
33
 
 
34
/*
 
35
 * External declarations
 
36
 */
 
37
extern Datum normal_rand(PG_FUNCTION_ARGS);
 
38
extern Datum crosstab(PG_FUNCTION_ARGS);
 
39
extern Datum crosstab_hash(PG_FUNCTION_ARGS);
 
40
extern Datum connectby_text(PG_FUNCTION_ARGS);
 
41
extern Datum connectby_text_serial(PG_FUNCTION_ARGS);
 
42
 
 
43
#endif   /* TABLEFUNC_H */