Re: psql does not provide proper response - Mailing list pgsql-general

From Pavel Stehule
Subject Re: psql does not provide proper response
Date
Msg-id CAFj8pRATHy1sJaO5G7-330E=S=xtLhh_VYrGJ_-BTUnEDj4Aog@mail.gmail.com
Whole thread Raw
In response to Re: psql does not provide proper response  (Bryn Llewellyn <bryn@yugabyte.com>)
List pgsql-general


čt 20. 1. 2022 v 19:50 odesílatel Bryn Llewellyn <bryn@yugabyte.com> napsal:
> shishaozhong@gmail.com wrote:
>
> I do not know what happened.
>
> psql does not provide proper response anymore.
>
> I typed the following and see nothing.
>
> user=# select * from boundaryline.scotland_and_wales_const_region
> user-#
>
> Can anyone enlighten me?

you are missing to write semicolon - at end of command

you see it in prompt "-#"

Regards

Pavel
 

This happens to me all too frequently. Then I kick myself and realize that I earlier said “\o spool.txt” (by hand) and forgot to turn it off with the bare “\o”. This is my typical use case:

\o spool.txt
\i script.sql

The script causes an error. I read it, see the bad statement, and then type the correct statement by hand. Then I see what you did: a big fat nothing.

Might this be happening to you?



pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [EXT] Re: Can we get the CTID value
Next
From: "David G. Johnston"
Date:
Subject: Re: psql does not provide proper response