Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 53972b4

Browse files
committed
Add $PostgreSQL$ markers to a lot of files that were missing them.
This particular batch was just for *.c and *.h file. The changes were made with the following 2 commands: find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *' find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
1 parent caede71 commit 53972b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+321
-24
lines changed

contrib/btree_gist/btree_bit.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bit.c,v 1.9 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_var.h"
36
#include "utils/builtins.h"

contrib/btree_gist/btree_bytea.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bytea.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_var.h"
36
#include "utils/builtins.h"

contrib/btree_gist/btree_cash.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_cash.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/cash.h"

contrib/btree_gist/btree_date.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_date.c,v 1.6 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/date.h"

contrib/btree_gist/btree_float4.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_float4.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36

contrib/btree_gist/btree_float8.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_float8.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36

contrib/btree_gist/btree_gist.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_gist.c,v 1.12 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25

36
PG_MODULE_MAGIC;

contrib/btree_gist/btree_gist.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_gist.h,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#ifndef __BTREE_GIST_H__
25
#define __BTREE_GIST_H__
36

contrib/btree_gist/btree_inet.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_inet.c,v 1.9 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/builtins.h"

contrib/btree_gist/btree_int2.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_int2.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36

contrib/btree_gist/btree_int4.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_int4.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36

contrib/btree_gist/btree_int8.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_int8.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36

contrib/btree_gist/btree_interval.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_interval.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/timestamp.h"

contrib/btree_gist/btree_macaddr.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_macaddr.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/builtins.h"

contrib/btree_gist/btree_numeric.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_numeric.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25

36
#include <math.h>

contrib/btree_gist/btree_oid.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_oid.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36

contrib/btree_gist/btree_text.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_text.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_var.h"
36
#include "utils/builtins.h"

contrib/btree_gist/btree_time.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_time.c,v 1.15 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/date.h"

contrib/btree_gist/btree_ts.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_ts.c,v 1.16 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/datetime.h"

contrib/btree_gist/btree_utils_num.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_num.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25
#include "btree_utils_num.h"
36
#include "utils/cash.h"

contrib/btree_gist/btree_utils_num.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_num.h,v 1.12 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#ifndef __BTREE_UTILS_NUM_H__
25
#define __BTREE_UTILS_NUM_H__
36

contrib/btree_gist/btree_utils_var.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_var.c,v 1.19 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "btree_gist.h"
25

36
#include <math.h>

contrib/btree_gist/btree_utils_var.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_var.h,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#ifndef __BTREE_UTILS_VAR_H__
25
#define __BTREE_UTILS_VAR_H__
36

contrib/hstore/crc32.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/* Both POSIX and CRC32 checksums */
1+
/*
2+
* $PostgreSQL: pgsql/contrib/hstore/crc32.c,v 1.3 2008/05/17 01:28:19 adunstan Exp $
3+
*
4+
* Both POSIX and CRC32 checksums */
25

36
#include <sys/types.h>
47
#include <stdio.h>

contrib/hstore/crc32.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/hstore/crc32.h,v 1.2 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#ifndef _CRC32_H
25
#define _CRC32_H
36

contrib/intarray/_int.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_int.h,v 1.16 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#ifndef ___INT_H__
25
#define ___INT_H__
36

contrib/intarray/_int_bool.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_int_bool.c,v 1.15 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "postgres.h"
25

36
#include "utils/builtins.h"

contrib/intarray/_int_gin.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_int_gin.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "postgres.h"
25

36
#include "access/gist.h"

contrib/intarray/_int_gist.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_int_gist.c,v 1.22 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "postgres.h"
25

36
#include "access/gist.h"

contrib/intarray/_int_op.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_int_op.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "postgres.h"
25

36
#include "lib/stringinfo.h"

contrib/intarray/_int_tool.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_int_tool.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "postgres.h"
25

36
#include "catalog/pg_type.h"

contrib/intarray/_intbig_gist.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/intarray/_intbig_gist.c,v 1.19 2008/05/17 01:28:19 adunstan Exp $
3+
*/
14
#include "postgres.h"
25

36
#include "access/gist.h"

contrib/ltree/_ltree_gist.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/ltree/_ltree_gist.c,v 1.25 2008/05/17 01:28:19 adunstan Exp $
3+
*
4+
*
25
* GiST support for ltree[]
36
* Teodor Sigaev <teodor@stack.net>
47
*/

contrib/ltree/_ltree_op.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/ltree/_ltree_op.c,v 1.12 2008/05/17 01:28:19 adunstan Exp $
3+
*
4+
*
25
* op function for ltree[]
36
* Teodor Sigaev <teodor@stack.net>
47
*/

contrib/pageinspect/btreefuncs.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/pageinspect/btreefuncs.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
3+
*
4+
*
25
* btreefuncs.c
36
*
47
* Copyright (c) 2006 Satoshi Nagayasu <nagayasus@nttdata.co.jp>

contrib/pg_standby/pg_standby.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.12 2008/05/17 01:28:21 adunstan Exp $
3+
*
4+
*
25
* pg_standby.c
36
*
47
* Production-ready example of how to create a Warm Standby

contrib/pg_trgm/trgm.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm.h,v 1.9 2008/05/17 01:28:21 adunstan Exp $
3+
*/
14
#ifndef __TRGM_H__
25
#define __TRGM_H__
36

contrib/pg_trgm/trgm_gin.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm_gin.c,v 1.4 2008/05/17 01:28:21 adunstan Exp $
3+
*/
14
#include "trgm.h"
25

36
#include "access/gin.h"

contrib/pg_trgm/trgm_gist.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm_gist.c,v 1.14 2008/05/17 01:28:21 adunstan Exp $
3+
*/
14
#include "trgm.h"
25

36
#include "access/gist.h"

contrib/pg_trgm/trgm_op.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm_op.c,v 1.10 2008/05/17 01:28:21 adunstan Exp $
3+
*/
14
#include "trgm.h"
25
#include <ctype.h>
36
#include "utils/array.h"

contrib/pgcrypto/rijndael.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/* $OpenBSD: rijndael.h,v 1.3 2001/05/09 23:01:32 markus Exp $ */
1+
/*
2+
* $PostgreSQL: pgsql/contrib/pgcrypto/rijndael.h,v 1.6 2008/05/17 01:28:21 adunstan Exp $
3+
*
4+
* $OpenBSD: rijndael.h,v 1.3 2001/05/09 23:01:32 markus Exp $ */
25

36
/* This is an independent implementation of the encryption algorithm: */
47
/* */

contrib/pgstattuple/pgstatindex.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/pgstattuple/pgstatindex.c,v 1.11 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
*
25
* pgstatindex
36
*
47
* Copyright (c) 2006 Satoshi Nagayasu <nagayasus@nttdata.co.jp>

contrib/seg/seg.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/******************************************************************************
1+
/*
2+
* $PostgreSQL: pgsql/contrib/seg/seg.c,v 1.24 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
******************************************************************************
25
This file contains routines that can be bound to a Postgres backend and
36
called by the backend in the process of processing queries. The calling
47
format for these routines is dictated by Postgres architecture.

contrib/seg/segdata.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/seg/segdata.h,v 1.5 2008/05/17 01:28:22 adunstan Exp $
3+
*/
14
typedef struct SEG
25
{
36
float4 lower;

contrib/spi/autoinc.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* $PostgreSQL: pgsql/contrib/spi/autoinc.c,v 1.15 2008/05/17 01:28:22 adunstan Exp $
3+
*/
14

25
#include "executor/spi.h" /* this is what you need to work with SPI */
36
#include "commands/trigger.h" /* -"- and triggers */

contrib/spi/refint.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/spi/refint.c,v 1.33 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
*
25
* refint.c -- set of functions to define referential integrity
36
* constraints using general triggers.
47
*/

contrib/spi/timetravel.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/spi/timetravel.c,v 1.29 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
*
25
* timetravel.c -- function to get time travel feature
36
* using general triggers.
47
*/

contrib/tablefunc/tablefunc.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.c,v 1.53 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
*
25
* tablefunc
36
*
47
* Sample to demonstrate C functions which return setof scalar

contrib/tablefunc/tablefunc.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.h,v 1.14 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
*
25
* tablefunc
36
*
47
* Sample to demonstrate C functions which return setof scalar

contrib/xml2/xpath.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/* Parser interface for DOM-based parser (libxml) rather than
1+
/*
2+
* $PostgreSQL: pgsql/contrib/xml2/xpath.c,v 1.20 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
* Parser interface for DOM-based parser (libxml) rather than
25
stream-based SAX-type parser */
36

47
#include "postgres.h"

contrib/xml2/xslt_proc.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/* XSLT processing functions (requiring libxslt) */
1+
/*
2+
* $PostgreSQL: pgsql/contrib/xml2/xslt_proc.c,v 1.13 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
* XSLT processing functions (requiring libxslt) */
25
/* John Gray, for Torchbox 2003-04-01 */
36

47
#include "postgres.h"

src/backend/port/darwin/system.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
/* only needed in OS X 10.1 and possibly early 10.2 releases */
1+
/*
2+
* $PostgreSQL: pgsql/src/backend/port/darwin/system.c,v 1.7 2008/05/17 01:28:22 adunstan Exp $
3+
*
4+
* only needed in OS X 10.1 and possibly early 10.2 releases */
25
#include <AvailabilityMacros.h>
36
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2 || !defined(MAC_OS_X_VERSION_10_2)
47

src/backend/port/dynloader/aix.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*
2+
* $PostgreSQL: pgsql/src/backend/port/dynloader/aix.c,v 1.20 2008/05/17 01:28:23 adunstan Exp $
3+
*
4+
*
25
* @(#)dlfcn.c 1.7 revision of 95/08/14 19:08:38
36
* This is an unpublished work copyright (c) 1992 HELIOS Software GmbH
47
* 30159 Hannover, Germany

0 commit comments

Comments
 (0)