We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pg_stat_get_numscans
1 parent 9818580 commit 45a1576Copy full SHA for 45a1576
src/frontend/src/binder/expr/function.rs
@@ -1300,6 +1300,7 @@ impl Binder {
1300
("pg_get_partkeydef", raw_literal(ExprImpl::literal_null(DataType::Varchar))),
1301
("pg_encoding_to_char", raw_literal(ExprImpl::literal_varchar("UTF8".into()))),
1302
("has_database_privilege", raw_literal(ExprImpl::literal_bool(true))),
1303
+ ("pg_stat_get_numscans", raw_literal(ExprImpl::literal_bigint(0))),
1304
("pg_backend_pid", raw(|binder, _inputs| {
1305
// FIXME: the session id is not global unique in multi-frontend env.
1306
Ok(ExprImpl::literal_int(binder.session_id.0))
0 commit comments