Thread: So where did that $Id$ come from?

So where did that $Id$ come from?

From
Tom Lane
Date:
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


Re: So where did that $Id$ come from?

From
Bruce Momjian
Date:
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 *.plUCS_to_BIG5.pl                  UCS_to_EUC_JP.pl
UCS_to_GB18030.pl              UCS_to_most.plUCS_to_EUC_CN.pl                UCS_to_EUC_KR.pl
UCS_to_SHIFT_JIS_2004.pl       ucs2utf.plUCS_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. +