sql-find-sqli-buffer
sql-find-sqli-buffer is a compiled Lisp function in `sql.el
'.
(sql-find-sqli-buffer &optional PRODUCT CONNECTION)
Return the name of the current default SQLi buffer or nil.
In order to qualify, the SQLi buffer must be alive, be in
`sql-interactive-mode' and have a process.