Advanced psql | Postgres.FM 120 |

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

ความคิดเห็น • 3

  • @kirkwolak6735
    @kirkwolak6735 2 หลายเดือนก่อน +1

    Good Stuff. I looked into enabling TIMING all of the time. It's 2 lines of code on the client side. Where \timing ON is slow because it outputs the time. Just tracking it and setting a variable EXEC_TIME or SQL_EXEC_TIME would be cool. Because if you did something, and it took a long time, but you were not paying attention. You could \ECHO :SQL_EXEC_TIME and see it. (Also, this means you could actually code a script to be aware of how long things are taking without extra tracking on your own)...

  • @mpnash
    @mpnash 2 หลายเดือนก่อน

    Hi. I don't think `\watch` is badly named. I imagine it was chosen to match the Linux `watch` command (en.wikipedia.org/wiki/Watch_(command)).