Re: patch adding new regexp functions

From: Neil Conway <neilc(at)samurai(dot)com>
To: Jeremy Drake <pgsql(at)jdrake(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, David Fetter <david(at)fetter(dot)org>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Mark Dilger <pgsql(at)markdilger(dot)com>
Subject: Re: patch adding new regexp functions
Date: 2007-03-20 21:19:05
Message-ID: 46004FC9.3000204@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Jeremy Drake wrote:
> The patch has been sitting in the unapplied patches queue for a while, and
> the inevitable bitrot finally caught up with it. This version of the
> patch is exactly the same as the one in the patches queue, except for
> using new, non-conflicting oids for the functions.
>
Applied -- thanks for the patch. BTW, a few cosmetic comments:

* #includes should be sorted alphabetically (unless another #include
sort order rules take precedence, like including "postgres.h" first).

* patch included some trailing CR line endings

* IMHO using "++var" in the increment component of a for loop is bad
style in C (if only because it is needlessly inconsistent; good C++
style is not necessarily good C style)

* Comments like "/* get text type oid, too lazy to do it some other way
*/" do not exactly inspire confidence :)

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Travers 2007-03-20 22:11:43 Question about the TODO, numerics, and division
Previous Message Florian G. Pflug 2007-03-20 21:06:31 Re: modifying the tbale function

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-20 21:31:09 Re: Code-Cleanup: char* -> const char*
Previous Message Joshua D. Drake 2007-03-20 18:45:49 Bitmapscan changes - Requesting further feedback