Re: [HACKERS] Patch - Tcl 8.6 version support for PostgreSQL - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Patch - Tcl 8.6 version support for PostgreSQL
Date
Msg-id 20170504144042.a5gkwadmvz4s2crk@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Patch - Tcl 8.6 version support for PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Patch - Tcl 8.6 version support for PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> But I agree with Andres' complaint that just duplicating the code isn't
> the best way.  The configure script has a loop that's basically like
> 
> for f in tclsh tcl tclsh8.6 tclsh86 tclsh8.5 tclsh85 tclsh8.4 tclsh84 tclsh8.3 tclsh83
> do
>    ... break if $f is the right one
> done
> 
> Seems to me that a similar coding pattern in the MSVC script is a
> reasonable way to go.

Something like the (untested) attached perhaps?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] transition table behavior with inheritance appearsbroken (was: Declarative partitioning - another take)
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Patch - Tcl 8.6 version support for PostgreSQL