use non-global db conn to appease libpg