\i and \watch - Mailing list pgsql-admin

From Edwin UY
Subject \i and \watch
Date
Msg-id CA+wokJ-NAMMVdo52WdwmGN8CasaE026jhRH7yb1MFU2eF=HeEw@mail.gmail.com
Whole thread Raw
Responses Re: \i and \watch
List pgsql-admin
Hi,

Is there no way to use \watch to let it run the last script that I just run?

When do I do as below:

select 1 ;
\i x.sql
\watch 20

It runs select 1 instead.

At the moment, a workaround is I run the content of x.sql itself and then run watch.
Please advise. Thanks.

Regards,
Ed

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Bytea datatype content to view
Next
From: "David G. Johnston"
Date:
Subject: Re: \i and \watch