Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a0ffab35
Commit
a0ffab35
authored
May 30, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Magic blocks don't do us any good unless we use 'em ... so install one
in every shared library.
parent
e95703ea
Changes
58
Show whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
160 additions
and
47 deletions
+160
-47
contrib/btree_gist/btree_gist.c
contrib/btree_gist/btree_gist.c
+2
-0
contrib/chkpass/chkpass.c
contrib/chkpass/chkpass.c
+3
-1
contrib/cube/cube.c
contrib/cube/cube.c
+3
-1
contrib/dblink/dblink.c
contrib/dblink/dblink.c
+3
-1
contrib/dbmirror/pending.c
contrib/dbmirror/pending.c
+4
-2
contrib/earthdistance/earthdistance.c
contrib/earthdistance/earthdistance.c
+3
-1
contrib/fulltextindex/fti.c
contrib/fulltextindex/fti.c
+3
-1
contrib/fuzzystrmatch/fuzzystrmatch.c
contrib/fuzzystrmatch/fuzzystrmatch.c
+3
-1
contrib/intagg/int_aggregate.c
contrib/intagg/int_aggregate.c
+2
-1
contrib/intarray/_int_op.c
contrib/intarray/_int_op.c
+2
-0
contrib/isbn_issn/isbn_issn.c
contrib/isbn_issn/isbn_issn.c
+5
-1
contrib/lo/lo.c
contrib/lo/lo.c
+2
-1
contrib/ltree/ltree_op.c
contrib/ltree/ltree_op.c
+2
-1
contrib/pg_buffercache/pg_buffercache_pages.c
contrib/pg_buffercache/pg_buffercache_pages.c
+3
-1
contrib/pg_freespacemap/pg_freespacemap.c
contrib/pg_freespacemap/pg_freespacemap.c
+3
-1
contrib/pg_trgm/trgm_op.c
contrib/pg_trgm/trgm_op.c
+2
-0
contrib/pgcrypto/pgcrypto.c
contrib/pgcrypto/pgcrypto.c
+3
-1
contrib/pgrowlocks/pgrowlocks.c
contrib/pgrowlocks/pgrowlocks.c
+3
-1
contrib/pgstattuple/pgstattuple.c
contrib/pgstattuple/pgstattuple.c
+3
-1
contrib/seg/seg.c
contrib/seg/seg.c
+2
-0
contrib/spi/autoinc.c
contrib/spi/autoinc.c
+2
-0
contrib/spi/insert_username.c
contrib/spi/insert_username.c
+3
-1
contrib/spi/moddatetime.c
contrib/spi/moddatetime.c
+3
-1
contrib/spi/refint.c
contrib/spi/refint.c
+2
-0
contrib/spi/timetravel.c
contrib/spi/timetravel.c
+2
-0
contrib/tablefunc/tablefunc.c
contrib/tablefunc/tablefunc.c
+2
-0
contrib/tsearch2/ts_cfg.c
contrib/tsearch2/ts_cfg.c
+2
-0
contrib/userlock/user_locks.c
contrib/userlock/user_locks.c
+1
-0
contrib/xml2/xslt_proc.c
contrib/xml2/xslt_proc.c
+2
-0
src/backend/utils/mb/conversion_procs/ascii_and_mic/ascii_and_mic.c
...d/utils/mb/conversion_procs/ascii_and_mic/ascii_and_mic.c
+3
-1
src/backend/utils/mb/conversion_procs/cyrillic_and_mic/cyrillic_and_mic.c
...s/mb/conversion_procs/cyrillic_and_mic/cyrillic_and_mic.c
+3
-1
src/backend/utils/mb/conversion_procs/euc_cn_and_mic/euc_cn_and_mic.c
...utils/mb/conversion_procs/euc_cn_and_mic/euc_cn_and_mic.c
+3
-1
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c
...ils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c
+3
-1
src/backend/utils/mb/conversion_procs/euc_kr_and_mic/euc_kr_and_mic.c
...utils/mb/conversion_procs/euc_kr_and_mic/euc_kr_and_mic.c
+3
-1
src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c
...ils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c
+3
-1
src/backend/utils/mb/conversion_procs/latin2_and_win1250/latin2_and_win1250.c
.../conversion_procs/latin2_and_win1250/latin2_and_win1250.c
+3
-1
src/backend/utils/mb/conversion_procs/latin_and_mic/latin_and_mic.c
...d/utils/mb/conversion_procs/latin_and_mic/latin_and_mic.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_ascii/utf8_and_ascii.c
...utils/mb/conversion_procs/utf8_and_ascii/utf8_and_ascii.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_big5/utf8_and_big5.c
...d/utils/mb/conversion_procs/utf8_and_big5/utf8_and_big5.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/utf8_and_cyrillic.c
...mb/conversion_procs/utf8_and_cyrillic/utf8_and_cyrillic.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/utf8_and_euc_cn.c
...ils/mb/conversion_procs/utf8_and_euc_cn/utf8_and_euc_cn.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/utf8_and_euc_jp.c
...ils/mb/conversion_procs/utf8_and_euc_jp/utf8_and_euc_jp.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/utf8_and_euc_kr.c
...ils/mb/conversion_procs/utf8_and_euc_kr/utf8_and_euc_kr.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/utf8_and_euc_tw.c
...ils/mb/conversion_procs/utf8_and_euc_tw/utf8_and_euc_tw.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_gb18030/utf8_and_gb18030.c
...s/mb/conversion_procs/utf8_and_gb18030/utf8_and_gb18030.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.c
...end/utils/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c
...s/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/utf8_and_iso8859_1.c
.../conversion_procs/utf8_and_iso8859_1/utf8_and_iso8859_1.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_johab/utf8_and_johab.c
...utils/mb/conversion_procs/utf8_and_johab/utf8_and_johab.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_sjis/utf8_and_sjis.c
...d/utils/mb/conversion_procs/utf8_and_sjis/utf8_and_sjis.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_uhc/utf8_and_uhc.c
...end/utils/mb/conversion_procs/utf8_and_uhc/utf8_and_uhc.c
+3
-1
src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c
...end/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c
+3
-1
src/pl/plperl/plperl.c
src/pl/plperl/plperl.c
+3
-1
src/pl/plpgsql/src/pl_handler.c
src/pl/plpgsql/src/pl_handler.c
+3
-1
src/pl/plpython/plpython.c
src/pl/plpython/plpython.c
+3
-1
src/pl/tcl/pltcl.c
src/pl/tcl/pltcl.c
+2
-1
src/tutorial/complex.c
src/tutorial/complex.c
+2
-0
src/tutorial/funcs_new.c
src/tutorial/funcs_new.c
+3
-1
No files found.
contrib/btree_gist/btree_gist.c
View file @
a0ffab35
#include "btree_gist.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
gbt_decompress
);
PG_FUNCTION_INFO_V1
(
gbtreekey_in
);
PG_FUNCTION_INFO_V1
(
gbtreekey_out
);
...
...
contrib/chkpass/chkpass.c
View file @
a0ffab35
...
...
@@ -4,7 +4,7 @@
* darcy@druid.net
* http://www.druid.net/darcy/
*
* $PostgreSQL: pgsql/contrib/chkpass/chkpass.c,v 1.1
5 2006/03/19 22:22:55 neilc
Exp $
* $PostgreSQL: pgsql/contrib/chkpass/chkpass.c,v 1.1
6 2006/05/30 22:12:12 tgl
Exp $
* best viewed with tabs set to 4
*/
...
...
@@ -20,6 +20,8 @@
#include "fmgr.h"
PG_MODULE_MAGIC
;
/*
* This type encrypts it's input unless the first character is a colon.
* The output is the encrypted form with a leading colon. The output
...
...
contrib/cube/cube.c
View file @
a0ffab35
/******************************************************************************
$PostgreSQL: pgsql/contrib/cube/cube.c,v 1.2
4 2006/03/11 04:38:28 momjian
Exp $
$PostgreSQL: pgsql/contrib/cube/cube.c,v 1.2
5 2006/05/30 22:12:12 tgl
Exp $
This file contains routines that can be bound to a Postgres backend and
called by the backend in the process of processing queries. The calling
...
...
@@ -18,6 +18,8 @@
#include "cubedata.h"
PG_MODULE_MAGIC
;
extern
int
cube_yyparse
();
extern
void
cube_yyerror
(
const
char
*
message
);
extern
void
cube_scanner_init
(
const
char
*
str
);
...
...
contrib/dblink/dblink.c
View file @
a0ffab35
...
...
@@ -8,7 +8,7 @@
* Darko Prenosil <Darko.Prenosil@finteh.hr>
* Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
*
* $PostgreSQL: pgsql/contrib/dblink/dblink.c,v 1.5
4 2006/03/11 04:38:29 momjian
Exp $
* $PostgreSQL: pgsql/contrib/dblink/dblink.c,v 1.5
5 2006/05/30 22:12:12 tgl
Exp $
* Copyright (c) 2001-2006, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
...
...
@@ -61,6 +61,8 @@
#include "dblink.h"
PG_MODULE_MAGIC
;
typedef
struct
remoteConn
{
PGconn
*
conn
;
/* Hold the remote connection */
...
...
contrib/dbmirror/pending.c
View file @
a0ffab35
/****************************************************************************
* pending.c
* $Id: pending.c,v 1.2
4 2006/05/19 02:38:47 momjian
Exp $
* $PostgreSQL: pgsql/contrib/dbmirror/pending.c,v 1.2
4 2006/05/19 02:38:47 momjian
Exp $
* $Id: pending.c,v 1.2
5 2006/05/30 22:12:12 tgl
Exp $
* $PostgreSQL: pgsql/contrib/dbmirror/pending.c,v 1.2
5 2006/05/30 22:12:12 tgl
Exp $
*
* This file contains a trigger for Postgresql-7.x to record changes to tables
* to a pending table for mirroring.
...
...
@@ -38,6 +38,8 @@
#include "utils/lsyscache.h"
#include "utils/array.h"
PG_MODULE_MAGIC
;
enum
FieldUsage
{
PRIMARY
=
0
,
NONPRIMARY
,
ALL
,
NUM_FIELDUSAGE
...
...
contrib/earthdistance/earthdistance.c
View file @
a0ffab35
/* $PostgreSQL: pgsql/contrib/earthdistance/earthdistance.c,v 1.1
0 2006/03/11 04:38:29 momjian
Exp $ */
/* $PostgreSQL: pgsql/contrib/earthdistance/earthdistance.c,v 1.1
1 2006/05/30 22:12:12 tgl
Exp $ */
#include "postgres.h"
...
...
@@ -7,6 +7,8 @@
#include "utils/geo_decls.h"
/* for Pt */
PG_MODULE_MAGIC
;
/* Earth's radius is in statute miles. */
const
double
EARTH_RADIUS
=
3958
.
747716
;
const
double
TWO_PI
=
2
.
0
*
M_PI
;
...
...
contrib/fulltextindex/fti.c
View file @
a0ffab35
...
...
@@ -8,7 +8,7 @@
/*
* Trigger function accepts variable number of arguments:
*
* $PostgreSQL: pgsql/contrib/fulltextindex/fti.c,v 1.2
6 2006/03/11 04:38:29 momjian
Exp $
* $PostgreSQL: pgsql/contrib/fulltextindex/fti.c,v 1.2
7 2006/05/30 22:12:12 tgl
Exp $
*
* 1. relation in which to store the substrings
* 2. fields to extract substrings from
...
...
@@ -88,6 +88,8 @@
* that can build the final query automagically?
*/
PG_MODULE_MAGIC
;
#define MAX_FTI_QUERY_LENGTH 8192
extern
Datum
fti
(
PG_FUNCTION_ARGS
);
...
...
contrib/fuzzystrmatch/fuzzystrmatch.c
View file @
a0ffab35
...
...
@@ -5,7 +5,7 @@
*
* Joe Conway <mail@joeconway.com>
*
* $PostgreSQL: pgsql/contrib/fuzzystrmatch/fuzzystrmatch.c,v 1.2
0 2006/03/19 22:22:56 neilc
Exp $
* $PostgreSQL: pgsql/contrib/fuzzystrmatch/fuzzystrmatch.c,v 1.2
1 2006/05/30 22:12:13 tgl
Exp $
* Copyright (c) 2001-2006, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
...
...
@@ -45,6 +45,8 @@
#include "fuzzystrmatch.h"
PG_MODULE_MAGIC
;
/*
* Calculates Levenshtein Distance between two strings.
* Uses simplest and fastest cost model only, i.e. assumes a cost of 1 for
...
...
contrib/intagg/int_aggregate.c
View file @
a0ffab35
...
...
@@ -5,7 +5,7 @@
* DMN Digital Music Network.
* www.dmn.com
*
* $PostgreSQL: pgsql/contrib/intagg/int_aggregate.c,v 1.2
3 2006/03/11 04:38:29 momjian
Exp $
* $PostgreSQL: pgsql/contrib/intagg/int_aggregate.c,v 1.2
4 2006/05/30 22:12:13 tgl
Exp $
*
* Copyright (C) Digital Music Network
* December 20, 2001
...
...
@@ -34,6 +34,7 @@
#include "utils/memutils.h"
#include "utils/lsyscache.h"
PG_MODULE_MAGIC
;
/*
* This is actually a postgres version of a one dimensional array.
...
...
contrib/intarray/_int_op.c
View file @
a0ffab35
...
...
@@ -2,6 +2,8 @@
#include "lib/stringinfo.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
_int_different
);
PG_FUNCTION_INFO_V1
(
_int_same
);
PG_FUNCTION_INFO_V1
(
_int_contains
);
...
...
contrib/isbn_issn/isbn_issn.c
View file @
a0ffab35
/*
* PostgreSQL type definitions for ISBNs.
*
* $PostgreSQL: pgsql/contrib/isbn_issn/isbn_issn.c,v 1.
8 2006/03/01 06:30:31 neilc
Exp $
* $PostgreSQL: pgsql/contrib/isbn_issn/isbn_issn.c,v 1.
9 2006/05/30 22:12:13 tgl
Exp $
*/
#include "postgres.h"
#include "fmgr.h"
PG_MODULE_MAGIC
;
/*
* This is the internal storage format for ISBNs.
...
...
contrib/lo/lo.c
View file @
a0ffab35
/*
* PostgreSQL definitions for managed Large Objects.
*
* $PostgreSQL: pgsql/contrib/lo/lo.c,v 1.1
5 2005/06/23 00:06:37
tgl Exp $
* $PostgreSQL: pgsql/contrib/lo/lo.c,v 1.1
6 2006/05/30 22:12:13
tgl Exp $
*
*/
...
...
@@ -17,6 +17,7 @@
/* Required for triggers */
#include "commands/trigger.h"
PG_MODULE_MAGIC
;
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
...
...
contrib/ltree/ltree_op.c
View file @
a0ffab35
/*
* op function for ltree
* Teodor Sigaev <teodor@stack.net>
* $PostgreSQL: pgsql/contrib/ltree/ltree_op.c,v 1.1
1 2006/04/27 18:24:35
tgl Exp $
* $PostgreSQL: pgsql/contrib/ltree/ltree_op.c,v 1.1
2 2006/05/30 22:12:13
tgl Exp $
*/
#include "ltree.h"
...
...
@@ -12,6 +12,7 @@
#include "utils/selfuncs.h"
#include "utils/syscache.h"
PG_MODULE_MAGIC
;
/* compare functions */
PG_FUNCTION_INFO_V1
(
ltree_cmp
);
...
...
contrib/pg_buffercache/pg_buffercache_pages.c
View file @
a0ffab35
...
...
@@ -3,7 +3,7 @@
* pg_buffercache_pages.c
* display some contents of the buffer cache
*
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.
6 2005/10/15 02:49:05 momjian
Exp $
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.
7 2006/05/30 22:12:13 tgl
Exp $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
...
...
@@ -21,6 +21,8 @@ extern DLLIMPORT BufferDesc *BufferDescriptors;
extern
DLLIMPORT
volatile
uint32
InterruptHoldoffCount
;
#endif
PG_MODULE_MAGIC
;
Datum
pg_buffercache_pages
(
PG_FUNCTION_ARGS
);
...
...
contrib/pg_freespacemap/pg_freespacemap.c
View file @
a0ffab35
...
...
@@ -3,7 +3,7 @@
* pg_freespacemap.c
* display some contents of the free space relation and page maps.
*
* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.
5 2006/05/04 20:39:34
tgl Exp $
* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.
6 2006/05/30 22:12:13
tgl Exp $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
...
...
@@ -24,6 +24,8 @@ extern DLLIMPORT int MaxFSMRelations;
extern
DLLIMPORT
volatile
uint32
InterruptHoldoffCount
;
#endif
PG_MODULE_MAGIC
;
Datum
pg_freespacemap_pages
(
PG_FUNCTION_ARGS
);
Datum
pg_freespacemap_relations
(
PG_FUNCTION_ARGS
);
...
...
contrib/pg_trgm/trgm_op.c
View file @
a0ffab35
...
...
@@ -3,6 +3,8 @@
#include "utils/array.h"
#include "catalog/pg_type.h"
PG_MODULE_MAGIC
;
float4
trgm_limit
=
0
.
3
;
PG_FUNCTION_INFO_V1
(
set_limit
);
...
...
contrib/pgcrypto/pgcrypto.c
View file @
a0ffab35
...
...
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $PostgreSQL: pgsql/contrib/pgcrypto/pgcrypto.c,v 1.2
0 2005/10/15 02:49:06 momjian
Exp $
* $PostgreSQL: pgsql/contrib/pgcrypto/pgcrypto.c,v 1.2
1 2006/05/30 22:12:13 tgl
Exp $
*/
#include "postgres.h"
...
...
@@ -40,6 +40,8 @@
#include "px-crypt.h"
#include "pgcrypto.h"
PG_MODULE_MAGIC
;
/* private stuff */
typedef
int
(
*
PFN
)
(
const
char
*
name
,
void
**
res
);
...
...
contrib/pgrowlocks/pgrowlocks.c
View file @
a0ffab35
/*
* $PostgreSQL: pgsql/contrib/pgrowlocks/pgrowlocks.c,v 1.
2 2006/04/25 00:40:54 ishii
Exp $
* $PostgreSQL: pgsql/contrib/pgrowlocks/pgrowlocks.c,v 1.
3 2006/05/30 22:12:13 tgl
Exp $
*
* Copyright (c) 2005-2006 Tatsuo Ishii
*
...
...
@@ -37,6 +37,8 @@
#include "storage/procarray.h"
#endif
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
pgrowlocks
);
extern
Datum
pgrowlocks
(
PG_FUNCTION_ARGS
);
...
...
contrib/pgstattuple/pgstattuple.c
View file @
a0ffab35
/*
* $PostgreSQL: pgsql/contrib/pgstattuple/pgstattuple.c,v 1.2
0 2005/10/15 02:49:06 momjian
Exp $
* $PostgreSQL: pgsql/contrib/pgstattuple/pgstattuple.c,v 1.2
1 2006/05/30 22:12:13 tgl
Exp $
*
* Copyright (c) 2001,2002 Tatsuo Ishii
*
...
...
@@ -32,6 +32,8 @@
#include "utils/builtins.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
pgstattuple
);
PG_FUNCTION_INFO_V1
(
pgstattuplebyid
);
...
...
contrib/seg/seg.c
View file @
a0ffab35
...
...
@@ -19,6 +19,8 @@
#define GIST_QUERY_DEBUG
*/
PG_MODULE_MAGIC
;
extern
int
seg_yyparse
();
extern
void
seg_yyerror
(
const
char
*
message
);
extern
void
seg_scanner_init
(
const
char
*
str
);
...
...
contrib/spi/autoinc.c
View file @
a0ffab35
...
...
@@ -3,6 +3,8 @@
#include "commands/trigger.h"
/* -"- and triggers */
#include "commands/sequence.h"
/* for nextval() */
PG_MODULE_MAGIC
;
extern
Datum
autoinc
(
PG_FUNCTION_ARGS
);
PG_FUNCTION_INFO_V1
(
autoinc
);
...
...
contrib/spi/insert_username.c
View file @
a0ffab35
/*
* insert_username.c
* $Modified: Thu Oct 16 08:13:42 1997 by brook $
* $PostgreSQL: pgsql/contrib/spi/insert_username.c,v 1.1
3 2006/03/11 04:38:30 momjian
Exp $
* $PostgreSQL: pgsql/contrib/spi/insert_username.c,v 1.1
4 2006/05/30 22:12:13 tgl
Exp $
*
* insert user name in response to a trigger
* usage: insert_username (column_name)
...
...
@@ -11,6 +11,8 @@
#include "commands/trigger.h"
/* -"- and triggers */
#include "miscadmin.h"
/* for GetUserName() */
PG_MODULE_MAGIC
;
extern
Datum
insert_username
(
PG_FUNCTION_ARGS
);
PG_FUNCTION_INFO_V1
(
insert_username
);
...
...
contrib/spi/moddatetime.c
View file @
a0ffab35
/*
moddatetime.c
$PostgreSQL: pgsql/contrib/spi/moddatetime.c,v 1.1
2 2006/03/11 04:38:30 momjian
Exp $
$PostgreSQL: pgsql/contrib/spi/moddatetime.c,v 1.1
3 2006/05/30 22:12:13 tgl
Exp $
What is this?
It is a function to be called from a trigger for the purpose of updating
...
...
@@ -17,6 +17,8 @@ OH, me, I'm Terry Mackintosh <terry@terrym.com>
#include "executor/spi.h"
/* this is what you need to work with SPI */
#include "commands/trigger.h"
/* -"- and triggers */
PG_MODULE_MAGIC
;
extern
Datum
moddatetime
(
PG_FUNCTION_ARGS
);
PG_FUNCTION_INFO_V1
(
moddatetime
);
...
...
contrib/spi/refint.c
View file @
a0ffab35
...
...
@@ -8,6 +8,8 @@
#include <ctype.h>
PG_MODULE_MAGIC
;
extern
Datum
check_primary_key
(
PG_FUNCTION_ARGS
);
extern
Datum
check_foreign_key
(
PG_FUNCTION_ARGS
);
...
...
contrib/spi/timetravel.c
View file @
a0ffab35
...
...
@@ -14,6 +14,8 @@
#define ABSTIMEOID 702
/* it should be in pg_type.h */
PG_MODULE_MAGIC
;
/* AbsoluteTime currabstime(void); */
Datum
timetravel
(
PG_FUNCTION_ARGS
);
Datum
set_timetravel
(
PG_FUNCTION_ARGS
);
...
...
contrib/tablefunc/tablefunc.c
View file @
a0ffab35
...
...
@@ -42,6 +42,8 @@
#include "tablefunc.h"
PG_MODULE_MAGIC
;
static
int
load_categories_hash
(
char
*
cats_sql
,
MemoryContext
per_query_ctx
);
static
Tuplestorestate
*
get_crosstab_tuplestore
(
char
*
sql
,
int
num_categories
,
...
...
contrib/tsearch2/ts_cfg.c
View file @
a0ffab35
...
...
@@ -20,6 +20,8 @@
#include "common.h"
#include "tsvector.h"
PG_MODULE_MAGIC
;
#define IGNORE_LONGLEXEME 1
/*********top interface**********/
...
...
contrib/userlock/user_locks.c
View file @
a0ffab35
...
...
@@ -17,6 +17,7 @@
#include "user_locks.h"
PG_MODULE_MAGIC
;
#define SET_LOCKTAG_USERLOCK(locktag,id1,id2) \
((locktag).locktag_field1 = MyDatabaseId, \
...
...
contrib/xml2/xslt_proc.c
View file @
a0ffab35
...
...
@@ -21,6 +21,8 @@
#include <libxslt/xsltutils.h>
PG_MODULE_MAGIC
;
/* declarations to come from xpath.c */
extern
void
elog_error
(
int
level
,
char
*
explain
,
int
force
);
...
...
src/backend/utils/mb/conversion_procs/ascii_and_mic/ascii_and_mic.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic/ascii_and_mic.c,v 1.1
1 2006/03/05 15:58:47 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/ascii_and_mic/ascii_and_mic.c,v 1.1
2 2006/05/30 22:12:14 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,6 +15,8 @@
#include "fmgr.h"
#include "mb/pg_wchar.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
ascii_to_mic
);
PG_FUNCTION_INFO_V1
(
mic_to_ascii
);
...
...
src/backend/utils/mb/conversion_procs/cyrillic_and_mic/cyrillic_and_mic.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/cyrillic_and_mic/cyrillic_and_mic.c,v 1.1
3 2006/05/21 20:05:19
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/cyrillic_and_mic/cyrillic_and_mic.c,v 1.1
4 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#define ENCODING_GROWTH_RATE 4
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
koi8r_to_mic
);
PG_FUNCTION_INFO_V1
(
mic_to_koi8r
);
PG_FUNCTION_INFO_V1
(
iso_to_mic
);
...
...
src/backend/utils/mb/conversion_procs/euc_cn_and_mic/euc_cn_and_mic.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_cn_and_mic/euc_cn_and_mic.c,v 1.1
4 2006/05/21 20:05:19
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_cn_and_mic/euc_cn_and_mic.c,v 1.1
5 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,6 +15,8 @@
#include "fmgr.h"
#include "mb/pg_wchar.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_cn_to_mic
);
PG_FUNCTION_INFO_V1
(
mic_to_euc_cn
);
...
...
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.1
6 2006/05/21 20:05:19
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.1
7 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -29,6 +29,8 @@
#define ENCODING_GROWTH_RATE 4
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_jp_to_sjis
);
PG_FUNCTION_INFO_V1
(
sjis_to_euc_jp
);
PG_FUNCTION_INFO_V1
(
euc_jp_to_mic
);
...
...
src/backend/utils/mb/conversion_procs/euc_kr_and_mic/euc_kr_and_mic.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_kr_and_mic/euc_kr_and_mic.c,v 1.1
4 2006/05/21 20:05:19
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_kr_and_mic/euc_kr_and_mic.c,v 1.1
5 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,6 +15,8 @@
#include "fmgr.h"
#include "mb/pg_wchar.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_kr_to_mic
);
PG_FUNCTION_INFO_V1
(
mic_to_euc_kr
);
...
...
src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c,v 1.1
4 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c,v 1.1
5 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#define ENCODING_GROWTH_RATE 4
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_tw_to_big5
);
PG_FUNCTION_INFO_V1
(
big5_to_euc_tw
);
PG_FUNCTION_INFO_V1
(
euc_tw_to_mic
);
...
...
src/backend/utils/mb/conversion_procs/latin2_and_win1250/latin2_and_win1250.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/latin2_and_win1250/latin2_and_win1250.c,v 1.1
2 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/latin2_and_win1250/latin2_and_win1250.c,v 1.1
3 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#define ENCODING_GROWTH_RATE 4
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
latin2_to_mic
);
PG_FUNCTION_INFO_V1
(
mic_to_latin2
);
PG_FUNCTION_INFO_V1
(
win1250_to_mic
);
...
...
src/backend/utils/mb/conversion_procs/latin_and_mic/latin_and_mic.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/latin_and_mic/latin_and_mic.c,v 1.1
2 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/latin_and_mic/latin_and_mic.c,v 1.1
3 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,6 +15,8 @@
#include "fmgr.h"
#include "mb/pg_wchar.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
latin1_to_mic
);
PG_FUNCTION_INFO_V1
(
mic_to_latin1
);
PG_FUNCTION_INFO_V1
(
latin3_to_mic
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_ascii/utf8_and_ascii.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_ascii/utf8_and_ascii.c,v 1.1
3 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_ascii/utf8_and_ascii.c,v 1.1
4 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,6 +15,8 @@
#include "fmgr.h"
#include "mb/pg_wchar.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
ascii_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_ascii
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_big5/utf8_and_big5.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_big5/utf8_and_big5.c,v 1.1
3 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_big5/utf8_and_big5.c,v 1.1
4 2006/05/30 22:12:14
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/big5_to_utf8.map"
#include "../../Unicode/utf8_to_big5.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
big5_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_big5
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/utf8_and_cyrillic.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/utf8_and_cyrillic.c,v 1.1
5 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_cyrillic/utf8_and_cyrillic.c,v 1.1
6 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/utf8_to_koi8r.map"
#include "../../Unicode/koi8r_to_utf8.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
utf8_to_koi8r
);
PG_FUNCTION_INFO_V1
(
koi8r_to_utf8
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/utf8_and_euc_cn.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/utf8_and_euc_cn.c,v 1.1
4 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_cn/utf8_and_euc_cn.c,v 1.1
5 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/euc_cn_to_utf8.map"
#include "../../Unicode/utf8_to_euc_cn.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_cn_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_euc_cn
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/utf8_and_euc_jp.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/utf8_and_euc_jp.c,v 1.1
4 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_jp/utf8_and_euc_jp.c,v 1.1
5 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/euc_jp_to_utf8.map"
#include "../../Unicode/utf8_to_euc_jp.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_jp_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_euc_jp
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/utf8_and_euc_kr.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/utf8_and_euc_kr.c,v 1.1
4 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_kr/utf8_and_euc_kr.c,v 1.1
5 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/euc_kr_to_utf8.map"
#include "../../Unicode/utf8_to_euc_kr.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_kr_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_euc_kr
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/utf8_and_euc_tw.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/utf8_and_euc_tw.c,v 1.1
4 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_euc_tw/utf8_and_euc_tw.c,v 1.1
5 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/euc_tw_to_utf8.map"
#include "../../Unicode/utf8_to_euc_tw.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
euc_tw_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_euc_tw
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_gb18030/utf8_and_gb18030.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_gb18030/utf8_and_gb18030.c,v 1.1
4 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_gb18030/utf8_and_gb18030.c,v 1.1
5 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/gb18030_to_utf8.map"
#include "../../Unicode/utf8_to_gb18030.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
gb18030_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_gb18030
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.c,v 1.1
3 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_gbk/utf8_and_gbk.c,v 1.1
4 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/gbk_to_utf8.map"
#include "../../Unicode/utf8_to_gbk.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
gbk_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_gbk
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.
19 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.
20 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -41,6 +41,8 @@
#include "../../Unicode/iso8859_15_to_utf8.map"
#include "../../Unicode/iso8859_16_to_utf8.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
iso8859_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_iso8859
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/utf8_and_iso8859_1.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/utf8_and_iso8859_1.c,v 1.1
6 2006/05/21 20:05:20
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/utf8_and_iso8859_1.c,v 1.1
7 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -15,6 +15,8 @@
#include "fmgr.h"
#include "mb/pg_wchar.h"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
iso8859_1_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_iso8859_1
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_johab/utf8_and_johab.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_johab/utf8_and_johab.c,v 1.1
4 2006/05/21 20:05:21
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_johab/utf8_and_johab.c,v 1.1
5 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/johab_to_utf8.map"
#include "../../Unicode/utf8_to_johab.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
johab_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_johab
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_sjis/utf8_and_sjis.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_sjis/utf8_and_sjis.c,v 1.1
3 2006/05/21 20:05:21
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_sjis/utf8_and_sjis.c,v 1.1
4 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/sjis_to_utf8.map"
#include "../../Unicode/utf8_to_sjis.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
sjis_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_sjis
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_uhc/utf8_and_uhc.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_uhc/utf8_and_uhc.c,v 1.1
3 2006/05/21 20:05:21
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_uhc/utf8_and_uhc.c,v 1.1
4 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,8 @@
#include "../../Unicode/uhc_to_utf8.map"
#include "../../Unicode/utf8_to_uhc.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
uhc_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_uhc
);
...
...
src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c
View file @
a0ffab35
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c,v 1.
3 2006/05/21 20:05:21
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/utf8_and_win/utf8_and_win.c,v 1.
4 2006/05/30 22:12:15
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -37,6 +37,8 @@
#include "../../Unicode/win1257_to_utf8.map"
#include "../../Unicode/win1258_to_utf8.map"
PG_MODULE_MAGIC
;
PG_FUNCTION_INFO_V1
(
win_to_utf8
);
PG_FUNCTION_INFO_V1
(
utf8_to_win
);
...
...
src/pl/plperl/plperl.c
View file @
a0ffab35
/**********************************************************************
* plperl.c - perl as a procedural language for PostgreSQL
*
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.11
0 2006/05/29 13:51:23 adunstan
Exp $
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.11
1 2006/05/30 22:12:15 tgl
Exp $
*
**********************************************************************/
...
...
@@ -33,6 +33,8 @@ extern DLLIMPORT bool check_function_bodies;
/* perl stuff */
#include "plperl.h"
PG_MODULE_MAGIC
;
/**********************************************************************
* The information we cache about loaded procedures
**********************************************************************/
...
...
src/pl/plpgsql/src/pl_handler.c
View file @
a0ffab35
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.2
8 2006/03/09 21:29:38 momjian
Exp $
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.2
9 2006/05/30 22:12:16 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,6 +26,8 @@
extern
DLLIMPORT
bool
check_function_bodies
;
PG_MODULE_MAGIC
;
static
bool
plpgsql_firstcall
=
true
;
static
void
plpgsql_init_all
(
void
);
...
...
src/pl/plpython/plpython.c
View file @
a0ffab35
/**********************************************************************
* plpython.c - python as a procedural language for PostgreSQL
*
* $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.8
0 2006/05/26 19:23:09 adunstan
Exp $
* $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.8
1 2006/05/30 22:12:16 tgl
Exp $
*
*********************************************************************
*/
...
...
@@ -32,6 +32,8 @@
#include <compile.h>
#include <eval.h>
PG_MODULE_MAGIC
;
/* convert Postgresql Datum or tuple into a PyObject.
* input to Python. Tuples are converted to dictionary
* objects.
...
...
src/pl/tcl/pltcl.c
View file @
a0ffab35
...
...
@@ -2,7 +2,7 @@
* pltcl.c - PostgreSQL support for Tcl as
* procedural language (PL)
*
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.10
3 2006/05/27 20:24:16 adunstan
Exp $
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.10
4 2006/05/30 22:12:16 tgl
Exp $
*
**********************************************************************/
...
...
@@ -67,6 +67,7 @@ utf_e2u(unsigned char *src)
#define UTF_E2U(x) (x)
#endif
/* PLTCL_UTF */
PG_MODULE_MAGIC
;
/**********************************************************************
* The information we cache about loaded procedures
...
...
src/tutorial/complex.c
View file @
a0ffab35
...
...
@@ -10,6 +10,8 @@
#include "libpq/pqformat.h"
/* needed for send/recv functions */
PG_MODULE_MAGIC
;
typedef
struct
Complex
{
double
x
;
...
...
src/tutorial/funcs_new.c
View file @
a0ffab35
/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.
7 2006/03/11 04:38:42 momjian
Exp $ */
/* $PostgreSQL: pgsql/src/tutorial/funcs_new.c,v 1.
8 2006/05/30 22:12:16 tgl
Exp $ */
/******************************************************************************
These are user-defined functions that can be bound to a Postgres backend
...
...
@@ -18,6 +18,8 @@
#include "utils/geo_decls.h"
/* for point type */
PG_MODULE_MAGIC
;
/* These prototypes just prevent possible warnings from gcc. */
Datum
add_one
(
PG_FUNCTION_ARGS
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment