So where did that $Id$ come from?

Started by Tom Laneover 15 years ago2 messageshackers
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Hey Bruce, how is it that this recent commit
http://archives.postgresql.org/pgsql-committers/2010-02/msg00202.php
replaced a $PostgreSQL$ CVS keyword with a $Id$ one?

The commit message mentions an "existing *.pl conversion script",
so I'm suspicious that somewhere there is a script that wants to
put these things in, but I can't find it in CVS.

regards, tom lane

#2Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#1)
Re: So where did that $Id$ come from?

Tom Lane wrote:

Hey Bruce, how is it that this recent commit
http://archives.postgresql.org/pgsql-committers/2010-02/msg00202.php
replaced a $PostgreSQL$ CVS keyword with a $Id$ one?

The commit message mentions an "existing *.pl conversion script",
so I'm suspicious that somewhere there is a script that wants to
put these things in, but I can't find it in CVS.

I assume he used one of the exiting PLs as a basis:

$ pwd
/pg/backend/utils/mb/Unicode
$ ls *.pl
UCS_to_BIG5.pl UCS_to_EUC_JP.pl
UCS_to_GB18030.pl UCS_to_most.pl
UCS_to_EUC_CN.pl UCS_to_EUC_KR.pl
UCS_to_SHIFT_JIS_2004.pl ucs2utf.pl
UCS_to_EUC_JIS_2004.pl UCS_to_EUC_TW.pl
UCS_to_SJIS.pl

but looking at those files, they all use $PostgreSQL$. No idea why an
$Id$ got in there. Is it possible I used on $PostgreSQL$ and $Id$ was
added by default?

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +