On Wed, May 9, 2018 at 8:52 AM, Stephen Frost <sfrost@snowman.net> wrote:
Greetings, * John McKown (john.archie.mckown@gmail.com) wrote: > Again, this is just a discussion point. And I'm quite willing to admit > defeat if most people don't think that it is worth the effort.
For my 2c, at least, I do think it'd be kind of neat to have, but we'd need a fool-proof way to realize that's how we're being called and, ideally, that would be something we could detect without having to have special flags for psql which anyone writing such a script would have to be aware of.
I probably should have taken a good look at how the psql code actually handles the "-f" argument. Unfortunately, I've been very "time poor" recently due to some medical work which, along with "real" work, keeps me away from the house for about 15 hrs a day, except for weekends which I used to try to recover.
Do you know if there's a way to detect that we're being called this way..?