From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | David Fetter <david(at)fetter(dot)org> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, jd(at)commandprompt(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: strict version of version_stamp.pl |
Date: | 2010-02-25 23:59:50 |
Message-ID: | 9388.1267142390@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
David Fetter <david(at)fetter(dot)org> writes:
> -} elsif ($minor eq "devel") {
> - $dotneeded = 0;
> - $numericminor = 0;
> -} elsif ($minor =~ m/^alpha\d+$/) {
> - $dotneeded = 0;
> - $numericminor = 0;
> -} elsif ($minor =~ m/^beta\d+$/) {
> - $dotneeded = 0;
> - $numericminor = 0;
> -} elsif ($minor =~ m/^rc\d+$/) {
> +} elsif ($minor =~ m/
> + ^
> + (
> + devel |
> + alpha\d+ |
> + beta\d+ |
> + rc\d+
> + )
> + $/x) {
FWIW, I don't care for the above part of the patch. It doesn't seem to
me to improve readability one iota, if anything the reverse; and it
makes the logic less amenable to modification. If we wanted to make the
behavior at all different for alpha/beta/rc cases, we'd have to undo it
anyway.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-02-26 00:03:34 | Re: No hash join across partitioned tables? |
Previous Message | Gokulakannan Somasundaram | 2010-02-25 23:59:26 | Re: A thought on Index Organized Tables |