Prompt for parameter value in psql - Mailing list pgsql-general

From Tiffany Thang
Subject Prompt for parameter value in psql
Date
Msg-id CAB_W-NO0y6smn-uCH876JLGiLukrY5zijp+bY5Gc28BekNb9Pg@mail.gmail.com
Whole thread Raw
Responses Re: Prompt for parameter value in psql
Re: Prompt for parameter value in psql
List pgsql-general
Hi,
Would it be possible to prompt for a user input in psql like in Oracle sqlplus?

In oracle, we use the & sign, for example,
select * from emp where empid=&empidvalue;

Thanks.

pgsql-general by date:

Previous
From: "Enrico Thierbach"
Date:
Subject: Re: SELECT .. FOR UPDATE: find out who locked a row
Next
From: "David G. Johnston"
Date:
Subject: Re: SELECT .. FOR UPDATE: find out who locked a row