Re: bug in psql? - Mailing list pgsql-general

From Pavel Stehule
Subject Re: bug in psql?
Date
Msg-id CAFj8pRBrvA5eOtQjooxums-SyE-s=UQxCwkuuZd6t09dAyJcUw@mail.gmail.com
Whole thread Raw
In response to bug in psql?  ("Aleksey M Boltenkov" <holybolt@rambler.ru>)
Responses RE: bug in psql?  ("Aleksey M Boltenkov" <holybolt@rambler.ru>)
List pgsql-general


so 15. 8. 2020 v 7:35 odesílatel Aleksey M Boltenkov <holybolt@rambler.ru> napsal:
Is this a bug?

Executing of malformed (quote symbols) select in psql results in unexpected behaviour:

pg01:5432 postgres@db=# select 'any expression'any expression\d+;
List of relations
Schema │ Name │ Type │ Owner │ Size │ Description
════════╪══════════════════════════╪══════════╪══════════╪════════════╪══════════════
public │ geography_columns │ view │ postgres │ 0 bytes │
public │ geometry_columns │ view │ postgres │ 0 bytes │
public │ pg_buffercache │ view │ postgres │ 0 bytes │
public │ pg_stat_statements │ view │ postgres │ 0 bytes │
public │ raster_columns │ view │ postgres │ 0 bytes │
public │ raster_overviews │ view │ postgres │ 0 bytes │
public │ spatial_ref_sys │ table │ postgres │ 4616 kB │
...

I tested psql-12 and psql-14 and I don't see this issue

Pavel



Aleksey M Boltenkov.

pgsql-general by date:

Previous
From: "Aleksey M Boltenkov"
Date:
Subject: bug in psql?
Next
From: Tom Lane
Date:
Subject: Re: bug in psql?