[Patch] change the return value of PQsendFlushRequest

2021-07-05 Thread zhangj...@fujitsu.com
Hi all The return value of function PQsendFlushRequest is 1 or 0. --- Sends a request for the server to flush its output buffer. int PQsendFlushRequest(PGconn *conn); Returns 1 for success. Returns 0 on any failure. --

RE: [Patch] change the default value of shared_buffers in postgresql.conf.sample

2021-06-27 Thread zhangj...@fujitsu.com
ified together. Best Regards! Zhangjie -Original Message- From: Tom Lane Sent: Thursday, June 24, 2021 11:50 PM To: Zhang, Jie/张 杰 Cc: pgsql-hackers@lists.postgresql.org Subject: Re: [Patch] change the default value of shared_buffers in postgresql.conf.sample "zhangj...@fujitsu

[Patch] change the default value of shared_buffers in postgresql.conf.sample

2021-06-24 Thread zhangj...@fujitsu.com
Hi all In PostgreSQL 14, The default value of shared_buffers is 128MB, but in postgresql.conf.sample, the default value of shared_buffers is 32MB. I think the following changes should be made. File: postgresql\src\backend\utils\misc\ postgresql.conf.sample #shared_buffers = 32MB => #shared_bu

[Patch] Rename PQtraceSetFlags to PQsetTraceFlags for bookindex.html

2021-06-21 Thread zhangj...@fujitsu.com
Hi all PQtraceSetFlags has been renamed PQsetTraceFlags, but the has not been modified, so PQtraceSetFlags is still displayed in bookindex.html. - - PQtraceSetFlagsPQtraceSetFlags + + PQsetTraceFlagsPQtraceSetFlags https://github.com/postgres/postgres/commit/d0e750c0acaf31f60667b