If I am in the psql terminal then I can declare and use a variable like this:
\set message_id soifsdaofisd.gmail.com;
select * from emails where message_id = ':message_id';
How can I do this in pgAdmin?
I get an error when ever I try this in pgAdmin:
ERROR: syntax error at or near "CALAdkA4YC0" LINE 3: set message_id soifsdaofisd.gmail.com.