BUG #18061: The psql -v variable option does not work for the -c command option - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18061: The psql -v variable option does not work for the -c command option
Date
Msg-id 18061-24b49a8d7b0672c7@postgresql.org
Whole thread Raw
Responses Re: BUG #18061: The psql -v variable option does not work for the -c command option  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18061
Logged by:          Robert Greene
Email address:      robertmccollistergreene@hotmail.com
PostgreSQL version: 15.4
Operating system:   Windows, Linux
Description:

psql -v v1=1 -c "select col from table where colname=:v1;"


pgsql-bugs by date:

Previous
From: "yanliang lei"
Date:
Subject: Re:Re: BUG #18034: Accept the spelling "+infinity" in datetime input is not accurate
Next
From: Tom Lane
Date:
Subject: Re: BUG #18057: unaccent removes intentional spaces