Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试从 libpqxx 中创建函数时,我运气不佳。我尝试使用包含 CREATE OR REPLACE 函数的字符串调用 exec ......但我一直无法获得正确的语法。任何提示或链接?谢谢!
我可以通过 pqxx::work.exec() 调用传递字符串“CREATE or REPLACE FUNCTION ...”。我以前一定有过不好的语法。谢谢。