1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +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__