> > but if you think that it should be somewhere else, please advise Corey > about where to put it.
Just a reminder that I'm standing by for advice. The issue at hand is whether the if-state should be a part of the PsqlScanState, or if it should be a separate state variable owned by MainLoop() and passed to HandleSlashCommands(), ... or some other solution.