summaryrefslogtreecommitdiff
path: root/contrib/seg
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2008-05-17 01:28:26 +0000
committerAndrew Dunstan <andrew@dunslane.net>2008-05-17 01:28:26 +0000
commit53972b460c6bc56178244ac53cf71e11bba6c37a (patch)
treee5ea73b8ea69f5b988aa0649519bec19d9e24cc2 /contrib/seg
parentcaede71b447971399011ef7687f4c68fe5ac9fc6 (diff)
downloadpostgresql-53972b460c6bc56178244ac53cf71e11bba6c37a.tar.gz
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 */'
Diffstat (limited to 'contrib/seg')
-rw-r--r--contrib/seg/seg.c5
-rw-r--r--contrib/seg/segdata.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c
index cb0ce4f5ca..8a95a1d5cc 100644
--- a/contrib/seg/seg.c
+++ b/contrib/seg/seg.c
@@ -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.
diff --git a/contrib/seg/segdata.h b/contrib/seg/segdata.h
index 420df739c5..ce177fb80b 100644
--- a/contrib/seg/segdata.h
+++ b/contrib/seg/segdata.h
@@ -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;