\i and \watch

Поиск
Список
Период
Сортировка
От Edwin UY
Тема \i and \watch
Дата
Msg-id CA+wokJ-NAMMVdo52WdwmGN8CasaE026jhRH7yb1MFU2eF=HeEw@mail.gmail.com
обсуждение исходный текст
Ответы Re: \i and \watch
Список 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 по дате отправления: