Re: Variable substitution in psql backtick expansion
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Gerdan Santos <gerdan@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-09-23T19:47:39Z
Lists: pgsql-hackers
Attachments
- psql-server-version-1.patch.gz (application/gzip) patch
Hello Gerdan,
This is an internal address that should not be exposed:
postgresql.org@coelho.net
I'm unsure why it gets substituted by the "commitfest application"...
> When i try apply this patch he failed with a following messenger:
It just worked for me on head with
git checkout -b test
git apply ~/psql-server-version-1.patch
My guess is that your mailer or navigator mangles the file contents
because its mime type is "text/x-diff" and that it considers that it is
okay to change NL to CR or CRNL... which is a BAD IDEA (tm).
I re-attached the file compressed so that it uses another mime-type and
should not change its contents.
--
Fabien.
Commits
-
Add psql variables showing server version and psql version.
- a6c678f018d3 10.0 landed
- 9ae9d8c1549c 11.0 landed
-
Reformat psql's --help=variables output.
- 3955c8c4eda2 11.0 landed
-
Remove reinvention of stringify macro.
- cd6baed78150 10.0 landed
-
Allow psql variable substitution to occur in backtick command strings.
- f833c847b8fa 10.0 landed