Re: psql -e
От | Tom Lane |
---|---|
Тема | Re: psql -e |
Дата | |
Msg-id | 17838.1059054818@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: psql -e (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: psql -e
Re: psql -e |
Список | pgsql-general |
Peter Eisentraut <peter_e@gmx.net> writes: > Rajesh Kumar Mallah writes: >> The echo feature of psql echos the query after its executed. >> does it makes more sense to have the reverse. > The query is printed *before* it is executed, but you might not see it > because your terminal is not flushing the stdout at the right times. It might be a good idea to do an explicit fflush(stdout) right after printing the query. I observe that PSQLexec() does this, and SendQuery does too in one path --- but not in the other. regards, tom lane
В списке pgsql-general по дате отправления: