Re: small windows psqlrc re-wording - Mailing list pgsql-hackers

From Tom Lane
Subject Re: small windows psqlrc re-wording
Date
Msg-id 168204.1662745969@sss.pgh.pa.us
Whole thread Raw
In response to Re: small windows psqlrc re-wording  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: small windows psqlrc re-wording
List pgsql-hackers
I wrote:
> On testing that in HEAD, I read

>     Both the system-wide startup file and the user's personal startup file
>     can be made psql-version-specific by appending a dash and the
>     PostgreSQL major or minor release number to the file name, for example
>     ~/.psqlrc-16 or ~/.psqlrc-16devel.

> That's a little confusing but it's actually accurate, because what
> process_psqlrc_file appends is the string PG_VERSION, so in a devel
> branch or beta release there's a non-numeric "minor release".
> I'm inclined to go ahead and do it like that.

I decided that what I found jarring about that was the use of "release
number" with a non-numeric version, so I changed it to "release
identifier" and pushed.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: START_REPLICATION SLOT causing a crash in an assert build
Next
From: Alvaro Herrera
Date:
Subject: Re: cataloguing NOT NULL constraints