1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

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 */'
This commit is contained in:
Andrew Dunstan
2008-05-17 01:28:26 +00:00
parent caede71b44
commit 53972b460c
99 changed files with 321 additions and 24 deletions

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bit.c,v 1.9 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/builtins.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bytea.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/builtins.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_cash.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/cash.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_date.c,v 1.6 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/date.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_float4.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_float8.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_gist.c,v 1.12 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
PG_MODULE_MAGIC;

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_gist.h,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*/
#ifndef __BTREE_GIST_H__
#define __BTREE_GIST_H__

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_inet.c,v 1.9 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/builtins.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_int2.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_int4.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_int8.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_interval.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/timestamp.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_macaddr.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/builtins.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_numeric.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include <math.h>

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_oid.c,v 1.7 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_text.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/builtins.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_time.c,v 1.15 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/date.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_ts.c,v 1.16 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/datetime.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_num.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/cash.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_num.h,v 1.12 2008/05/17 01:28:19 adunstan Exp $
*/
#ifndef __BTREE_UTILS_NUM_H__
#define __BTREE_UTILS_NUM_H__

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_var.c,v 1.19 2008/05/17 01:28:19 adunstan Exp $
*/
#include "btree_gist.h"
#include <math.h>

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/btree_gist/btree_utils_var.h,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*/
#ifndef __BTREE_UTILS_VAR_H__
#define __BTREE_UTILS_VAR_H__

View File

@ -1,4 +1,7 @@
/* Both POSIX and CRC32 checksums */
/*
* $PostgreSQL: pgsql/contrib/hstore/crc32.c,v 1.3 2008/05/17 01:28:19 adunstan Exp $
*
* Both POSIX and CRC32 checksums */
#include <sys/types.h>
#include <stdio.h>

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/hstore/crc32.h,v 1.2 2008/05/17 01:28:19 adunstan Exp $
*/
#ifndef _CRC32_H
#define _CRC32_H

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_int.h,v 1.16 2008/05/17 01:28:19 adunstan Exp $
*/
#ifndef ___INT_H__
#define ___INT_H__

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_int_bool.c,v 1.15 2008/05/17 01:28:19 adunstan Exp $
*/
#include "postgres.h"
#include "utils/builtins.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_int_gin.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*/
#include "postgres.h"
#include "access/gist.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_int_gist.c,v 1.22 2008/05/17 01:28:19 adunstan Exp $
*/
#include "postgres.h"
#include "access/gist.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_int_op.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*/
#include "postgres.h"
#include "lib/stringinfo.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_int_tool.c,v 1.11 2008/05/17 01:28:19 adunstan Exp $
*/
#include "postgres.h"
#include "catalog/pg_type.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/intarray/_intbig_gist.c,v 1.19 2008/05/17 01:28:19 adunstan Exp $
*/
#include "postgres.h"
#include "access/gist.h"

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/ltree/_ltree_gist.c,v 1.25 2008/05/17 01:28:19 adunstan Exp $
*
*
* GiST support for ltree[]
* Teodor Sigaev <teodor@stack.net>
*/

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/ltree/_ltree_op.c,v 1.12 2008/05/17 01:28:19 adunstan Exp $
*
*
* op function for ltree[]
* Teodor Sigaev <teodor@stack.net>
*/

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/pageinspect/btreefuncs.c,v 1.8 2008/05/17 01:28:19 adunstan Exp $
*
*
* btreefuncs.c
*
* Copyright (c) 2006 Satoshi Nagayasu <nagayasus@nttdata.co.jp>

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/pg_standby/pg_standby.c,v 1.12 2008/05/17 01:28:21 adunstan Exp $
*
*
* pg_standby.c
*
* Production-ready example of how to create a Warm Standby

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm.h,v 1.9 2008/05/17 01:28:21 adunstan Exp $
*/
#ifndef __TRGM_H__
#define __TRGM_H__

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm_gin.c,v 1.4 2008/05/17 01:28:21 adunstan Exp $
*/
#include "trgm.h"
#include "access/gin.h"

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/pg_trgm/trgm_gist.c,v 1.14 2008/05/17 01:28:21 adunstan Exp $
*/
#include "trgm.h"
#include "access/gist.h"

View File

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

View File

@ -1,4 +1,7 @@
/* $OpenBSD: rijndael.h,v 1.3 2001/05/09 23:01:32 markus Exp $ */
/*
* $PostgreSQL: pgsql/contrib/pgcrypto/rijndael.h,v 1.6 2008/05/17 01:28:21 adunstan Exp $
*
* $OpenBSD: rijndael.h,v 1.3 2001/05/09 23:01:32 markus Exp $ */
/* This is an independent implementation of the encryption algorithm: */
/* */

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/pgstattuple/pgstatindex.c,v 1.11 2008/05/17 01:28:22 adunstan Exp $
*
*
* pgstatindex
*
* Copyright (c) 2006 Satoshi Nagayasu <nagayasus@nttdata.co.jp>

View File

@ -1,4 +1,7 @@
/******************************************************************************
/*
* $PostgreSQL: pgsql/contrib/seg/seg.c,v 1.24 2008/05/17 01:28:22 adunstan 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
format for these routines is dictated by Postgres architecture.

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/seg/segdata.h,v 1.5 2008/05/17 01:28:22 adunstan Exp $
*/
typedef struct SEG
{
float4 lower;

View File

@ -1,3 +1,6 @@
/*
* $PostgreSQL: pgsql/contrib/spi/autoinc.c,v 1.15 2008/05/17 01:28:22 adunstan Exp $
*/
#include "executor/spi.h" /* this is what you need to work with SPI */
#include "commands/trigger.h" /* -"- and triggers */

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/spi/refint.c,v 1.33 2008/05/17 01:28:22 adunstan Exp $
*
*
* refint.c -- set of functions to define referential integrity
* constraints using general triggers.
*/

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/spi/timetravel.c,v 1.29 2008/05/17 01:28:22 adunstan Exp $
*
*
* timetravel.c -- function to get time travel feature
* using general triggers.
*/

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.c,v 1.53 2008/05/17 01:28:22 adunstan Exp $
*
*
* tablefunc
*
* Sample to demonstrate C functions which return setof scalar

View File

@ -1,4 +1,7 @@
/*
* $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.h,v 1.14 2008/05/17 01:28:22 adunstan Exp $
*
*
* tablefunc
*
* Sample to demonstrate C functions which return setof scalar

View File

@ -1,4 +1,7 @@
/* Parser interface for DOM-based parser (libxml) rather than
/*
* $PostgreSQL: pgsql/contrib/xml2/xpath.c,v 1.20 2008/05/17 01:28:22 adunstan Exp $
*
* Parser interface for DOM-based parser (libxml) rather than
stream-based SAX-type parser */
#include "postgres.h"

View File

@ -1,4 +1,7 @@
/* XSLT processing functions (requiring libxslt) */
/*
* $PostgreSQL: pgsql/contrib/xml2/xslt_proc.c,v 1.13 2008/05/17 01:28:22 adunstan Exp $
*
* XSLT processing functions (requiring libxslt) */
/* John Gray, for Torchbox 2003-04-01 */
#include "postgres.h"