More portable version of special live prompt in psqlrc