查询在 999 个字符处被截断
我对 Postgres
和 PHP
有一个特殊的问题。
我刚刚设置了新服务器,尽管代码在旧服务器上运行良好,但在新服务器上,一些冗长的查询被截断为 999 个字符。
同一页面在旧页面上运行良好,在新页面上运行良好,我收到一条错误消息
无法执行查询:[...], table4_name T4, table5_na
它应该在 [...], table4_name T4、table5_name T5、[...] 等等。
基本上字符 999 之后的所有内容都丢失了。 任何人都知道什么配置设置可能会导致这种情况?
I have a peculiar problem with Postgres
and PHP
.
I just set-up new server and although code works fine on the old server, on a new server some lengthy queries are getting truncated at 999 character.
Same page runs fine on the old one and on the new one I get an error saying
Failed to execute query: [...], table4_name T4, table5_na
Where it should be [...], table4_name T4, table5_name T5, [...] and so on and so on.
Basically everything after character 999 is missing.
Anyone have any idea what configuration setting may be causing that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的评论似乎就是答案;)
是否错误被切断,并且存在实际产生错误的不同问题?
My comment seems to be the answer ;)
Could it be that the error is being cut off, and there is a different problem that actually produces an error?