New copyright program - Mailing list pgsql-hackers

From David Fetter
Subject New copyright program
Date
Msg-id 20110812203030.GA18572@fetter.org
Whole thread Raw
Responses Re: New copyright program
List pgsql-hackers
Folks,

I noticed that src/tools/copyright looks like it can only be run on
Bruce's machine, so this translation to Perl is intended:

1.  To make the script idempotent, which allows its safe use in
automated tools that might run it many times.

2.  To get the script to run on any machine a PostgreSQL developer
would be using, as Perl is already required.

3.  To make the script more efficient.  As the copyright notice we
need to munge only appears once per file, it stops once it has made a
substitution.

Please find attached a patch implementing same.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Extra check in 9.0 exclusion constraint unintended consequences
Next
From: Simon Riggs
Date:
Subject: Re: VACUUM FULL versus system catalog cache invalidation