Re: psql show URL with help - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql show URL with help
Date
Msg-id bb0b7971-fb4f-0dd2-7f9c-86ed45fe4343@2ndquadrant.com
Whole thread Raw
In response to Re: psql show URL with help  (David Fetter <david@fetter.org>)
List pgsql-hackers
On 2019-03-08 16:11, David Fetter wrote:
>> The outcome of that is exactly what my patch does, but the inputs are
>> different.  We have PG_MAJORVERSION, which is always a single integer,
>> and PG_VERSION, which could be 10.9.8 or 11beta5 or 12devel.  The patch does
>>
>> if (PG_VERSION ends with 'devel')
>>   return /docs/devel/
>> else
>>  return /docs/$PG_MAJORVERSION/
>>
>> There is no third case.  Your third case of not-numeric-and-not-devel is
>> correctly covered by the else branch.
> 
> Thanks for helping me understand.

Committed, thanks.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: I have some troubles to run test_shm_mq;
Next
From: Dean Rasheed
Date:
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists