Tom Lane wrote:
Bruce Momjian <[EMAIL PROTECTED]> writes:
Andrew Dunstan wrote:
Do we have a script that goes looking for such files? Do we need one?
I don't think we have one but it would be nice to have.
Only if it's bright enough to know about files that we intentionally
don't put $PostgreSQL$ into ...
Here's a very early cut. Tell me what extra intelligence you want and
I'll work something up. It certainly looks to me like many of these
should have markers. There are probably some other files we should be
checking, too.
cheers
andrew
[EMAIL PROTECTED] pgsql.head]$ find . \( -name '*.[chly]' -o -name
'*akefile' -o -name '*.sgml' \) \( -exec grep -q '\$PostgreSQL' {} \; -o
-print \)
./Makefile
./src/tools/fsync/test_fsync.c
./src/tools/entab/Makefile
./src/test/locale/de_DE.ISO8859-1/Makefile
./src/test/locale/gr_GR.ISO8859-7/Makefile
./src/test/locale/koi8-r/Makefile
./src/test/locale/koi8-to-win1251/Makefile
./src/test/locale/test-ctype.c
./src/test/regress/Makefile
./src/test/examples/testlibpq3.c
./src/test/examples/Makefile
./src/test/examples/testlibpq.c
./src/test/examples/testlibpq4.c
./src/test/examples/testlibpq2.c
./src/include/utils/cash.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_finnish.h
./src/include/snowball/libstemmer/stem_UTF_8_german.h
./src/include/snowball/libstemmer/stem_KOI8_R_russian.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_portuguese.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_norwegian.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_german.h
./src/include/snowball/libstemmer/api.h
./src/include/snowball/libstemmer/stem_UTF_8_dutch.h
./src/include/snowball/libstemmer/stem_UTF_8_french.h
./src/include/snowball/libstemmer/stem_UTF_8_norwegian.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_dutch.h
./src/include/snowball/libstemmer/stem_UTF_8_italian.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_french.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_swedish.h
./src/include/snowball/libstemmer/stem_UTF_8_turkish.h
./src/include/snowball/libstemmer/stem_UTF_8_romanian.h
./src/include/snowball/libstemmer/stem_UTF_8_portuguese.h
./src/include/snowball/libstemmer/stem_UTF_8_finnish.h
./src/include/snowball/libstemmer/stem_UTF_8_english.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_english.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_spanish.h
./src/include/snowball/libstemmer/stem_ISO_8859_2_romanian.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_italian.h
./src/include/snowball/libstemmer/stem_UTF_8_hungarian.h
./src/include/snowball/libstemmer/header.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_hungarian.h
./src/include/snowball/libstemmer/stem_UTF_8_danish.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_danish.h
./src/include/snowball/libstemmer/stem_UTF_8_swedish.h
./src/include/snowball/libstemmer/stem_UTF_8_porter.h
./src/include/snowball/libstemmer/stem_UTF_8_spanish.h
./src/include/snowball/libstemmer/stem_ISO_8859_1_porter.h
./src/include/snowball/libstemmer/stem_UTF_8_russian.h
./src/include/port/sunos4.h
./src/include/port/aix.h
./src/include/port/sco.h
./src/include/port/univel.h
./src/include/port/ultrix4.h
./src/include/port/win32/pwd.h
./src/include/port/win32/sys/wait.h
./src/include/port/bsdi.h
./src/include/port/unixware.h
./src/include/commands/proclang.h
./src/include/commands/comment.h
./src/tutorial/complex.c
./src/port/pthread-win32.h
./src/port/strtol.c
./src/port/rand.c
./src/port/strlcat.c
./src/port/strtoul.c
./src/bin/pgevent/Makefile
./src/interfaces/libpq/win32.h
./src/interfaces/libpq/win32.c
./src/interfaces/ecpg/pgtypeslib/timestamp.c
./src/interfaces/ecpg/test/thread/Makefile
./src/interfaces/ecpg/test/pgtypeslib/Makefile
./src/interfaces/ecpg/test/sql/Makefile
./src/interfaces/ecpg/test/expected/preproc-comment.c
./src/interfaces/ecpg/test/expected/preproc-autoprep.c
./src/interfaces/ecpg/test/expected/sql-array.c
./src/interfaces/ecpg/test/expected/compat_informix-rfmtdate.c
./src/interfaces/ecpg/test/expected/sql-indicators.c
./src/interfaces/ecpg/test/expected/preproc-variable.c
./src/interfaces/ecpg/test/expected/sql-oldexec.c
./src/interfaces/ecpg/test/expected/connect-test4.c
./src/interfaces/ecpg/test/expected/compat_informix-charfuncs.c
./src/interfaces/ecpg/test/expected/connect-test3.c
./src/interfaces/ecpg/test/expected/sql-dyntest.c
./src/interfaces/ecpg/test/expected/sql-quote.c
./src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c
./src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.c
./src/interfaces/ecpg/test/expected/sql-code100.c
./src/interfaces/ecpg/test/expected/sql-parser.c
./src/interfaces/ecpg/test/expected/compat_informix-test_informix.c
./src/interfaces/ecpg/test/expected/preproc-type.c
./src/interfaces/ecpg/test/expected/compat_informix-test_informix2.c
./src/interfaces/ecpg/test/expected/preproc-init.c
./src/interfaces/ecpg/test/expected/Makefile
./src/interfaces/ecpg/test/expected/thread-alloc.c
./src/interfaces/ecpg/test/expected/sql-dynalloc.c
./src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
./src/interfaces/ecpg/test/expected/sql-func.c
./src/interfaces/ecpg/test/expected/sql-define.c
./src/interfaces/ecpg/test/expected/thread-thread_implicit.c
./src/interfaces/ecpg/test/expected/sql-insupd.c
./src/interfaces/ecpg/test/expected/sql-desc.c
./src/interfaces/ecpg/test/expected/sql-binary.c
./src/interfaces/ecpg/test/expected/thread-descriptor.c
./src/interfaces/ecpg/test/expected/preproc-define.c
./src/interfaces/ecpg/test/expected/pgtypeslib-num_test.c
./src/interfaces/ecpg/test/expected/compat_informix-rnull.c
./src/interfaces/ecpg/test/expected/sql-dynalloc2.c
./src/interfaces/ecpg/test/expected/compat_informix-rfmtlong.c
./src/interfaces/ecpg/test/expected/sql-fetch.c
./src/interfaces/ecpg/test/expected/thread-thread.c
./src/interfaces/ecpg/test/expected/compat_informix-dec_test.c
./src/interfaces/ecpg/test/expected/sql-show.c
./src/interfaces/ecpg/test/expected/connect-test2.c
./src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c
./src/interfaces/ecpg/test/expected/preproc-whenever.c
./src/interfaces/ecpg/test/expected/connect-test5.c
./src/interfaces/ecpg/test/expected/sql-copystdout.c
./src/interfaces/ecpg/test/expected/sql-execute.c
./src/interfaces/ecpg/test/expected/thread-prep.c
./src/interfaces/ecpg/test/preproc/Makefile
./src/interfaces/ecpg/test/connect/Makefile
./src/interfaces/ecpg/test/compat_informix/Makefile
./src/interfaces/ecpg/test/regression.h
./src/interfaces/ecpg/preproc/type.h
./src/interfaces/ecpg/Makefile
./src/interfaces/ecpg/include/sql3types.h
./src/interfaces/ecpg/include/sqlca.h
./src/interfaces/ecpg/include/sqlda.h
./src/interfaces/ecpg/include/Makefile
./src/interfaces/ecpg/include/sqltypes.h
./src/pl/plperl/spi_internal.c
./src/pl/plperl/ppport.h
./src/backend/utils/mb/wstrcmp.c
./src/backend/utils/mb/wstrncmp.c
./src/backend/snowball/libstemmer/stem_UTF_8_french.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_english.c
./src/backend/snowball/libstemmer/stem_UTF_8_turkish.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_norwegian.c
./src/backend/snowball/libstemmer/stem_UTF_8_hungarian.c
./src/backend/snowball/libstemmer/stem_UTF_8_porter.c
./src/backend/snowball/libstemmer/stem_UTF_8_russian.c
./src/backend/snowball/libstemmer/stem_UTF_8_italian.c
./src/backend/snowball/libstemmer/stem_UTF_8_portuguese.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_italian.c
./src/backend/snowball/libstemmer/stem_UTF_8_english.c
./src/backend/snowball/libstemmer/stem_UTF_8_norwegian.c
./src/backend/snowball/libstemmer/stem_KOI8_R_russian.c
./src/backend/snowball/libstemmer/stem_ISO_8859_2_romanian.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_portuguese.c
./src/backend/snowball/libstemmer/api.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_finnish.c
./src/backend/snowball/libstemmer/stem_UTF_8_romanian.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_porter.c
./src/backend/snowball/libstemmer/stem_UTF_8_dutch.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_danish.c
./src/backend/snowball/libstemmer/stem_UTF_8_german.c
./src/backend/snowball/libstemmer/stem_UTF_8_danish.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_dutch.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_french.c
./src/backend/snowball/libstemmer/stem_UTF_8_spanish.c
./src/backend/snowball/libstemmer/stem_UTF_8_swedish.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_german.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_swedish.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_hungarian.c
./src/backend/snowball/libstemmer/stem_UTF_8_finnish.c
./src/backend/snowball/libstemmer/utilities.c
./src/backend/snowball/libstemmer/stem_ISO_8859_1_spanish.c
./src/backend/port/dynloader/aix.c
./src/backend/port/dynloader/univel.c
./src/backend/port/dynloader/win32.h
./src/backend/port/dynloader/univel.h
./src/backend/port/dynloader/solaris.c
./src/backend/port/dynloader/svr4.c
./src/backend/port/dynloader/unixware.c
./src/backend/port/dynloader/sunos4.c
./src/backend/port/dynloader/sco.c
./src/backend/port/dynloader/unixware.h
./src/backend/port/darwin/system.c
./src/backend/port/nextstep/port.c
./contrib/tablefunc/tablefunc.h
./contrib/tablefunc/tablefunc.c
./contrib/pg_trgm/trgm_op.c
./contrib/pg_trgm/trgm_gin.c
./contrib/pg_trgm/trgm.h
./contrib/pg_trgm/trgm_gist.c
./contrib/pgstattuple/pgstatindex.c
./contrib/btree_gist/btree_int2.c
./contrib/btree_gist/btree_time.c
./contrib/btree_gist/btree_date.c
./contrib/btree_gist/btree_int8.c
./contrib/btree_gist/btree_utils_var.h
./contrib/btree_gist/btree_cash.c
./contrib/btree_gist/btree_bytea.c
./contrib/btree_gist/btree_inet.c
./contrib/btree_gist/btree_gist.h
./contrib/btree_gist/btree_utils_var.c
./contrib/btree_gist/btree_bit.c
./contrib/btree_gist/btree_int4.c
./contrib/btree_gist/btree_numeric.c
./contrib/btree_gist/btree_gist.c
./contrib/btree_gist/btree_oid.c
./contrib/btree_gist/btree_utils_num.c
./contrib/btree_gist/btree_utils_num.h
./contrib/btree_gist/btree_float8.c
./contrib/btree_gist/btree_macaddr.c
./contrib/btree_gist/btree_ts.c
./contrib/btree_gist/btree_interval.c
./contrib/btree_gist/btree_text.c
./contrib/btree_gist/btree_float4.c
./contrib/ltree/_ltree_op.c
./contrib/ltree/_ltree_gist.c
./contrib/intarray/_int_bool.c
./contrib/intarray/_int.h
./contrib/intarray/_intbig_gist.c
./contrib/intarray/_int_gist.c
./contrib/intarray/_int_tool.c
./contrib/intarray/_int_op.c
./contrib/intarray/_int_gin.c
./contrib/pgcrypto/rijndael.h
./contrib/spi/autoinc.c
./contrib/spi/refint.c
./contrib/spi/timetravel.c
./contrib/xml2/xslt_proc.c
./contrib/xml2/xpath.c
./contrib/pg_standby/pg_standby.c
./contrib/pageinspect/btreefuncs.c
./contrib/seg/segscan.l
./contrib/seg/seg.c
./contrib/seg/segparse.y
./contrib/seg/segdata.h
./contrib/hstore/hstore.h
./contrib/hstore/hstore_io.c
./contrib/hstore/hstore_gist.c
./contrib/hstore/hstore_gin.c
./contrib/hstore/crc32.c
./contrib/hstore/hstore_op.c
./contrib/hstore/crc32.h
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers