Re: Todays git migration results

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alex Hunsaker <badalex(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Todays git migration results
Date: 2010-08-17 00:48:52
Message-ID: AANLkTi=PkBRYxVxo3rm4NPb8EmAzBEAPcd56XZpQCFsn@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 16, 2010 at 7:01 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> On Mon, Aug 16, 2010 at 4:33 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> I'd be satisfied with a tool that merges commit reports if they have the
>>> same log message and occur at approximately the same time, which is the
>>> heuristic that cvs2cl uses.
>
>> So how do you run cvs2cl?  Do you run it once in a while and save the
>> output someplace?  Or what?
>
> Yeah, it's a bit too slow to do on every sync.  I run it every week or
> two and keep the output in a text file.  Usually what I want the history
> for is stuff that happened awhile ago, so the fact that it's not 100% up
> to date is seldom a factor.

OK, try this. It takes about 14 seconds on my machine on my copy of
Magnus's test repository. Output looks like this:

Author: Robert Haas <rhaas(at)postgresql(dot)org>
Branch: master [8c5aba824] 2010-07-21 09:23:34 -0400
Branch: REL9_0_STABLE [00314ceab] 2010-07-21 09:23:34 -0400
Branch: REL8_4_STABLE [14ddf23a8] 2010-07-21 09:23:34 -0400

Compact numeric format, with 2-byte header in common cases.

Author: Robert Haas <rhaas(at)postgresql(dot)org>
Branch: master [d0706cfd2] 2010-07-21 09:28:08 -0400

Standardize get_whatever_oid functions for other object types.

- Rename TSParserGetPrsid to get_ts_parser_oid.
- Rename TSDictionaryGetDictid to get_ts_dict_oid.
- Rename TSTemplateGetTmplid to get_ts_template_oid.
- Rename TSConfigGetCfgid to get_ts_config_oid.
- Rename FindConversionByName to get_conversion_oid.
- Rename GetConstraintName to get_constraint_oid.
- Add new functions get_opclass_oid, get_opfamily_oid, get_rewrite_oid,
get_rewrite_oid_without_relid, get_trigger_oid, and get_cast_oid.

The name of each function matches the corresponding catalog.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

Attachment Content-Type Size
git-topo-order application/octet-stream 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2010-08-17 00:51:19 Re: security label support, part.2
Previous Message Josh Berkus 2010-08-17 00:38:36 Re: JSON Patch for PostgreSQL - BSON Support?