fix temp greetings with odbc storage (issue #6078)