postgresql - Google Cloud PostgreSQL 的奇怪行为
问题描述
我正在运行 Google Cloud SQL 代理以连接到 Google Cloud (GCP) 上的远程 PostgreSQL (v9.6) 实例。
我对这两个查询返回的行数有一个非常奇怪的问题:
select "id", "original_image"
from "tableA"
where "image_id" is NULL
order by "id" asc
limit 581
返回0 行
select "id", "original_image"
from "tableA"
where "image_id" is NULL
order by "id" asc
limit 580
返回73 行
如果我删除 WHERE 子句 ( where "image_id" is NULL
),则两者都返回限制金额(分别为 581 和 580)。
关于可能导致这种情况的任何想法?
解决方案
推荐阅读
- html - 引导固定表头的表头宽度
- flutter - 如何创建自定义信息 windows google map flutter?
- c++ - 有没有办法以编程方式设置磁盘签名,而不是磁盘部分
- javascript - 如何更新分页的 jQuery DataTables 数据并显示它
- ios - 导出 Swift 框架以在 Objective-C 中使用
- javascript - React 找不到模块
- c# - C# Webdriver FindsBy - 用于剑道元素
- c++ - struct 消耗太多内存
- c# - 字符串插值 C#
- linux - (在清理中)在全局销毁期间无法在未定义的值 Object/InsideOut.pm 1953 行上调用方法“FETCH”