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

From Robert Treat
Subject Re: small windows psqlrc re-wording
Date
Msg-id CAJSLCQ1JeG_bjOftvhO+K-2JoKp__ejK+AybzXGMEu5hvST3OA@mail.gmail.com
Whole thread Raw
In response to Re: small windows psqlrc re-wording  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Sep 9, 2022 at 1:52 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> 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.
>

Looks good. Thanks Tom / Julien.


Robert Treat
https://xzilla.net



pgsql-hackers by date:

Previous
From: Melih Mutlu
Date:
Subject: Re: Summary function for pg_buffercache
Next
From: Tom Lane
Date:
Subject: Re: pg_toast.pg_toast_relfilenode not exist due to vacuum full tablename