摘要:
The email lists: may be a buffer overflow problem [ecpg bug]: can not use single '*' in multi-line comment after c preprocessor directives 阅读全文
摘要:
setup In the section of C declarations within the file src/backend/parser/gram.y, include the following code, #ifdef YYDEBUG #undef YYDEBUG #endif #de 阅读全文
摘要:
(From chatgpt) A simple SELECT query in PostgreSQL operates under the MVCC (Multi-Version Concurrency Control) model, which allows it to read data wit 阅读全文
摘要:
Garbage Collection The following example comes from the test case TxnExecutorTest_GarbageCollection: Before the first garbage collection, When txn_wat 阅读全文
摘要:
How to optimize the program below to run faster? use std::{thread, sync::Arc}; use std::sync::atomic::AtomicU64; struct Block { d1: AtomicU64, } fn wo 阅读全文
摘要:
References https://www.geeksforgeeks.org/extendible-hashing-dynamic-approach-to-dbms/ examples walkthrough in detail https://medium.com/@redixhumayun/ 阅读全文
摘要:
1 起因是想玩玩 opengauss 的回收站功能。结果根据 opengauss 官方网站,根本试玩不了。 想从源码编译安装 opengauss,结果官方网站文档又不行! 最后还是靠非官方的这篇文章才能安装成功。 2 根据官网描述,需要在 postgresql.conf 里新增 enable_rec 阅读全文
摘要:
demo #[tokio::main] async fn main() { println!("Hello world"); } Equivalent code not using #[tokio::main] fn main() { tokio::runtime::Builder::new_mul 阅读全文
摘要:
principle https://doc.rust-lang.org/reference/types/closure.html?highlight=fnonce#closure-types demo 1 fn f<F : FnOnce() -> String> (g: F) { println!( 阅读全文
摘要:
(classid,objid,objsubid) depends on (refclassid,refobjid,refobjsubid). -- which objects does relation 88088 depends on select * from pg_depend where c 阅读全文
摘要:
System Table Name Brief Description Related Views SYS.OBJ$ Contains information about all database objects USER_OBJECTS, ALL_OBJECTS, DBA_OBJECTS SYS. 阅读全文