mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +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:
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/sql3types.h,v 1.12 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
#ifndef _ECPG_SQL3TYPES_H
|
||||
#define _ECPG_SQL3TYPES_H
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqlca.h,v 1.30 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
#ifndef POSTGRES_SQLCA_H
|
||||
#define POSTGRES_SQLCA_H
|
||||
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqlda.h,v 1.3 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/sqltypes.h,v 1.8 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
#ifndef ECPG_SQLTYPES_H
|
||||
#define ECPG_SQLTYPES_H
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/timestamp.c,v 1.42 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.h,v 1.49 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
#ifndef _ECPG_PREPROC_TYPE_H
|
||||
#define _ECPG_PREPROC_TYPE_H
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/ecpg/test/regression.h,v 1.2 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
exec sql define REGRESSDB1 regress1;
|
||||
exec sql define REGRESSDB2 connectdb;
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/win32.c,v 1.24 2008/05/17 01:28:25 adunstan Exp $
|
||||
*
|
||||
*
|
||||
* FILE
|
||||
* win32.c
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/win32.h,v 1.29 2008/05/17 01:28:25 adunstan Exp $
|
||||
*/
|
||||
#ifndef __win32_h_included
|
||||
#define __win32_h_included
|
||||
|
||||
|
||||
Reference in New Issue
Block a user