New copyright program

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: New copyright program
Date: 2011-08-12 20:30:30
Message-ID: 20110812203030.GA18572@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)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 Content-Type Size
copyright_01.diff text/plain 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-08-12 20:57:36 Re: Inserting heap tuples in bulk in COPY
Previous Message Jeff Davis 2011-08-12 20:26:58 Re: Extra check in 9.0 exclusion constraint unintended consequences