no description function pg_sequence_last_value in the documents,but using \df+ pg_sequence_last_value get this function in the psql

2024-10-31 Thread yanliang lei
[pg170@localhost ~]$ psql -d postgres psql -d postgres psql (17.0) 输入 "help" 来获取帮助信息. postgres=# \df+ pg_sequence_last_value; 函数列表 架构模式 | 名称 | 结果数据类型 | 参数数据类型 | 类型 | 挥发性 | 平行

Re:Re: suggestion about statement_timeout

2024-09-01 Thread yanliang lei
I got it。 thanks a lot 在 2024-09-01 11:48:33,"David G. Johnston" 写道: On Saturday, August 31, 2024, yanliang lei wrote: hi, in the https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/connection-handling-best-practice-with-postgresql/ba-p/790883 the

suggestion about statement_timeout

2024-08-31 Thread yanliang lei
hi, in the https://techcommunity.microsoft.com/t5/azure-database-for-postgresql/connection-handling-best-practice-with-postgresql/ba-p/790883 there is the following description: alter database dbnamehere set statement_timeout = 6; but the the https://www.postgresql.org/docs/current/runti

Re:Re: Supplements and suggestions and about postgresql sequence setval function in the documents

2024-08-21 Thread yanliang lei
What I want to express is: There is no description in the document that the schema name can be included before the sequence name 在 2024-08-21 21:01:35,"David G. Johnston" 写道: On Wednesday, August 21, 2024, yanliang lei wrote: in the following example; sel

Supplements and suggestions and about postgresql sequence setval function in the documents

2024-08-21 Thread yanliang lei
in the following example; select setval('seq_test',111); ---this setval('seq_test',111) : update the current schema's seq_test last_value =111 select setval('schemalei.seq_test',222); ---this setval('seq_test',111) : update the schemalei schema's seq_test last_value =222 but in

question about "vacuum full" command

2024-08-16 Thread yanliang lei
"vacuum full" command is : vacumm full command in the psql, for example: postgres=# vacuum full; VACUUM postgres=# in my question,vacumm full command is not "vacuum full " command I want to know :vacumm full command ( not "vacuum full " command) will influence which table?all tables in cu

Re:Re: Suggestion about tcp_keepalives_idle parameter in the document

2024-06-10 Thread yanliang lei
thank you very much! At 2024-06-10 17:03:07, "Laurenz Albe" wrote: >On Sat, 2024-06-08 at 05:37 +0800, yanliang lei wrote: >> there is the following description in the >> https://www.postgresql.org/docs/current/runtime-config-connection.html: >>

Suggestion about tcp_keepalives_idle parameter in the document

2024-06-07 Thread yanliang lei
there is the following description in the https://www.postgresql.org/docs/current/runtime-config-connection.html: A value of 0 (the default) selects the operating system's default.-but there is no description about“ the operating system's default value in the linux is tcp_keepalive_ti

​the description of max_wal_senders parameter does not include Logical Replication

2023-08-18 Thread yanliang lei
the description of max_wal_senders parameter does not include Logical Replication in the url https://www.postgresql.org/docs/15/runtime-config-replication.html there are following description: max_wal_senders (integer) Specifies the maximum number of concurrent connections from stand

PG 16 New Feature --“Accept the spelling "+infinity" in datetime input ”is not accurate

2023-08-10 Thread yanliang lei
in the https://www.postgresql.org/docs/16/release-16.html, there is a new feature :Accept the spelling "+infinity" in datetime input。 Actually,"in datetime input " is not accurate. Actually, in the PostgreSQL 16 beta2 edition, the spelling "+infinity" can be used in the following three datatypes

bpchar datatype is not equal to character(1) data type

2023-06-06 Thread yanliang lei
in the documents (https://www.postgresql.org/docs/current/typeconv-query.html),there is the following descrition: “blank-padded char”, the internal name of the character data type. ===>>so bpchar datatype is equal to character data type in the documents (https://www.postgresql.org/docs/

pg data type bool is the boolean ,but in the documents there is no description about " bool is equal to boolean”

2023-06-04 Thread yanliang lei
postgres=# create table test_1(c1 bool,c2 int); CREATE TABLE postgres=# \d+ test_1; Table "public.test_1" Column | Type | Collation | Nullable | Default | Storage | Compression | Stats target | Description +-+---+--

suggest about bpchar data type in the document

2022-09-14 Thread yanliang lei
I hope that: in the https://www.postgresql.org/docs/14/datatype-characterin.html ,It needs to be written clearly “bpchar” data type, and in the above url, Only mentioned “blank padded” ,If someone does not know this knowledge point(blank padded =bp),he/she will make a detour in the study

how to check specific user_name have “SELECT ON ALL TABLES IN SCHEMA ” privilege or not ?

2022-09-11 Thread yanliang lei
Dear everyone, how to check specific have “SELECT ON ALL TABLES IN SCHEMA ” privilege or not ?

pg document is not recorded:maintenance_work_mem can not large than 2GB in windows

2022-07-23 Thread yanliang lei
pg document is not recorded:maintenance_work_mem can not large than 2GB in windows。 https://www.postgresql.org/docs/14/runtime-config-resource.html I suggest that:modify maintenance_work_mem parameter description in the pg documents: add maintenance_work_mem parameter size limit in windows

huge_page_size parameter description in the pg 14 docs is not exact

2022-07-20 Thread yanliang lei
https://www.postgresql.org/docs/15/runtime-config-resource.html#GUC-HUGE-PAGE-SIZE the following is from the above website: Some commonly available page sizes on modern 64 bit server architectures include: 2MB and 1GB (Intel and AMD), 16MB and 16GB (IBM POWER), and 64kB, 2MB, 32MB and 1

about pg14 new parameter in_hot_standby

2022-05-21 Thread yanliang lei
in the pg14 document(https://www.postgresql.org/docs/14/runtime-config-preset.html) in_hot_standby parameter: Reports whether the server is currently in hot standby mode. When this is on, all transactions are forced to be read-only. Within a session, this can change only if the server is pro