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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: robertmccollistergreene(at)hotmail(dot)com
Subject: BUG #18061: The psql -v variable option does not work for the -c command option
Date: 2023-08-18 14:28:36
Message-ID: 18061-24b49a8d7b0672c7@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18061
Logged by: Robert Greene
Email address: robertmccollistergreene(at)hotmail(dot)com
PostgreSQL version: 15.4
Operating system: Windows, Linux
Description:

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2023-08-19 16:30:04 Re: BUG #18057: unaccent removes intentional spaces
Previous Message yanliang lei 2023-08-18 13:57:17 Re:Re: BUG #18034: Accept the spelling "+infinity" in datetime input is not accurate