psql -c command parse "select $$hello$$" failed - Mailing list pgsql-general

From jian he
Subject psql -c command parse "select $$hello$$" failed
Date
Msg-id CACJufxG=gshS2XPrTBAJNOfw7n=0OpnUtf6L0Q5shzMc8oQxqQ@mail.gmail.com
Whole thread Raw
Responses Re: psql -c command parse "select $$hello$$" failed
Re: psql -c command parse "select $$hello$$" failed
List pgsql-general
Hi.
not sure this is the expected result.

/home/jian/postgres/pg16_test/bin/psql -d test_dev -p 5455 -c "select $$hello$$"
2023-07-04 20:15:51.066 CST [1562050] ERROR:  trailing junk after
numeric literal at or near "884070h" at character 8
2023-07-04 20:15:51.066 CST [1562050] STATEMENT:  select 884070hello884070
ERROR:  trailing junk after numeric literal at or near "884070h"
LINE 1: select 884070hello884070
               ^



pgsql-general by date:

Previous
From: Kirk Wolak
Date:
Subject: Re: psql and pgpass.conf on Windows
Next
From: Julien Rouhaud
Date:
Subject: Re: psql -c command parse "select $$hello$$" failed