Re: Issue with pgstattuple on Sequences in PostgreSQL

2024-06-24 Thread Tatsuo Ishii
do not behave like real tables aside from being able to be > selected from (i.e., no SQL update/delete command). > > The code should produce an explicit error for that relkind as well. If so, then the regression test should be fixed as well. Currently there's no test case for sequences. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Proposal to Compile a 256-Byte Identifier Length Version Alongside the Current 64-Byte Version

2023-10-09 Thread Tatsuo Ishii
is way. I know this requires non trivial code modifications to PostgreSQL but would be better than to make binaries with random NAMEDATALEN values. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: whether I can add a new encoding?

2023-09-21 Thread Tatsuo Ishii
a pointer to a specification of GBK18030? Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: PGCon remote attendance

2023-05-22 Thread Tatsuo Ishii
> Hi pgsql-general, > > Will there be any option to attend the upcoming PG conference remotely? > > Will the talks and papers be posted online following the conference, if not? You can contact the conference organizer via email. https://www.pgcon.org/2023/contact.php Best reag

Re: Patroni vs pgpool II

2023-04-07 Thread Tatsuo Ishii
end it doesn't exist anymore» You can call Pgpool-II whatever you like. Important thing for me (and probably for users) is, if it can solve user's problem or not. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Patroni vs pgpool II

2023-04-07 Thread Tatsuo Ishii
them, too).  S0 and S1 then > "should" vote that S0 take over the VIP.  But, if S2 is still up and > can connect to "the world", does it voluntarily decide to give up the > VIP since it's all alone? Yes, because S2 pgpool is not the leader anymore. In this case S

Re: Patroni vs pgpool II

2023-04-07 Thread Tatsuo Ishii
nd once it is recognized as "down" by other nodes, it will not be used without manual intervention. Thus the disaster described above will not happen in pgpool. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Patroni vs pgpool II

2023-04-07 Thread Tatsuo Ishii
many standby nodes, > some of them might continue replicating from the old primary if they > happen to be in the same network partition, and so on. As of pg0 and existing standby in the same network as pg0, you can either manually or automatically make them to follow pg0. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Patroni vs pgpool II

2023-04-06 Thread Tatsuo Ishii
t is set to "quarantine" state from pgpool's point of view, which means clients cannot access pg1 via pgpool. w0 and w1 will decide to promote pg0. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Patroni vs pgpool II

2023-04-06 Thread Tatsuo Ishii
I think that depends what you want to avoid using fencing. If the purpose is to avoid having two primary servers at the same time, Pgpool-II achieve that as described above. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Patroni vs pgpool II

2023-04-05 Thread Tatsuo Ishii
> But, I heard PgPool is still affected by Split brain syndrome. Can you elaborate more? If more than 3 pgpool watchdog nodes (the number of nodes must be odd) are configured, a split brain can be avoided. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index

Re: Patroni vs pgpool II

2023-04-05 Thread Tatsuo Ishii
g only for specific application name - turn off load balancing only for specific database - turn off load balancing if current transaction includes write query Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Patroni vs pgpool II

2023-04-04 Thread Tatsuo Ishii
ase share the company/client names using these > tools for large PG databases? I can't give you names but we (SRA OSS) have many customers using PostgreSQL and some of them are using Pgpool-II. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Does Postgres 14 have a query cache?

2023-02-18 Thread Tatsuo Ishii
rect. Yeah. Pgpool-II has query cache but PgBouncer does not. Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Intervals and ISO 8601 duration

2023-01-13 Thread Tatsuo Ishii
of EXTRACT function. SELECT EXTRACT(EPOCH FROM i1) AS epoch_i1, EXTRACT(EPOCH FROM i2) AS epoch_i2 FROM ( SELECT '1 day 2 hours'::interval AS i1, '26 hours'::interval AS i2) AS s; epoch_i1 | epoch_i2 --+-- 93600.00 | 93600.00 (1 row) Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp

Re: Regarding availability of 32bit client drivers for postgresql 13/14

2022-08-16 Thread Tatsuo Ishii
> An another question .. How does the enterprise customers using PostgreSQL can > subscribe to official support ? Please take a look at this URL: https://www.postgresql.org/support/ Best reagards, -- Tatsuo Ishii SRA OSS LLC English: http://www.sraoss.co.jp/index_en.php Japanes

Re: Does pg_ctl promote wait for pending WAL?

2021-01-28 Thread Tatsuo Ishii
detected in the startup process, then recovery would still try to > replay as much WAL as possible from the archives or pg_wal before a > failover. Great. That should make my life a lot easier. I will look into the code to confirm it. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: ht

Does pg_ctl promote wait for pending WAL?

2021-01-28 Thread Tatsuo Ishii
. The motivation of this question behind is I want to have a complete copy of the primary server using promote command. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Need to place pgpool logs on separate directory

2020-11-11 Thread Tatsuo Ishii
| syslog local faclity > syslog_ident | pgpool > | syslog program ident string When log_destination = stderr, you need to start pgpool with -n option and redirect stderr to log file. Othewise log will not write to the log file because

Re: Need to place pgpool logs on separate directory

2020-11-11 Thread Tatsuo Ishii
; logdir = '/data/pgpool' 1 or 2 should work. You might want to check whether 'stderr' is actually set to log_destination parameter by using psql: pgpool show log_destination; If it's set but still logs are sent to syslog, try reloading or restarting pgpool. By the way thi

Re: Setup Pgpool2 with Postgresql Streaming Replication

2020-10-22 Thread Tatsuo Ishii
Hi Alan, This is not the best forum to discuss Pgpool-II related topics. I advice you to go to the Pgpool-II dedicated forum: https://www.pgpool.net/mailman/listinfo/pgpool-general > Hi, > > I'm following the steps from: > > https://access.crunchydata.com/documentation/pgpool/4.0.0/example-clu

Re: 回复: May "PostgreSQL server side GB18030 character set support" reconsidered?

2020-10-05 Thread Tatsuo Ishii
t-byte2 = in-byte2 + 0x80 (should be 0xb0-0xb9) out-byte3 = in-byte3 out-byte4 = in-byte4 + 0x80 (should be 0xb0-0xb9) Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: 回复: May "PostgreSQL server side GB18030 character set support" reconsidered?

2020-10-05 Thread Tatsuo Ishii
I think we can leave it as it is. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: 回复: May "PostgreSQL server side GB18030 character set support" reconsidered?

2020-10-05 Thread Tatsuo Ishii
avoid a table lookup overhead which is necessary in conversion between GB18030 and UTF8 and so on. However I don't come up with such a mathematical conversion method for now. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: 回复: May "PostgreSQL server side GB18030 character set support" reconsidered?

2020-10-05 Thread Tatsuo Ishii
in with only words but easy with help of the > following graph. > > Most frequently used 20902 Chinese characters and 984 symbols in GBK is > encoded with 2 bytes, which is a subset of GB18030. It does not sound fair argument unless you are going to implement only GBK compatible part o

Re: Pgpool is crashing when terminating user session

2020-05-16 Thread Tatsuo Ishii
he server was lost. Attempting reset: Succeeded. test=# Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: logical replication protocol

2019-12-24 Thread Tatsuo Ishii
> in line with the way PG usually does it ;-) > > Did I miss a doc somewhere in my searches??? The logical replication protocol builds on the primitives of the physical streaming replication protocol as stated in the document. The explanation of 'k' and 'w' messages

Re: pgpool High Availability Issue

2019-12-23 Thread Tatsuo Ishii
; have created a network load balancer in AWS, created a target group with > all the three pgpool nodes as targets). > > Regards, > Venkatesh. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: pgpool-II 3.7.5 with ssl

2019-12-10 Thread Tatsuo Ishii
ver.keyk": No such file or directory > Seems like > something you should discuss with the pgpool people. True. The issue is almost nothing to do with PostgreSQL. I recommend to discuss in the pgpool mailing list: https://www.pgpool.net/mailman/listinfo/pgpool-general BTW, pgpool 3.7.5 i

Re: RowDescription message

2019-10-07 Thread Tatsuo Ishii
gt; SELECT; Thanks. Is it a valid SQL statement according to the standard? Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

RowDescription message

2019-10-07 Thread Tatsuo Ishii
According to the manualof RowDescription message https://www.postgresql.org/docs/12/protocol-message-formats.html Specifies the number of fields in a row (can be zero). Does 0 fields could actually happen? Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http

Re: pgpool, pgmaster and pgslave migration to ubuntu 18.04

2019-07-08 Thread Tatsuo Ishii
I version up, please refer to the release notes sections. https://pgpool.net/mediawiki/index.php/Documentation Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Incremental aggregate/rollup strategy advice

2019-07-08 Thread Tatsuo Ishii
avily normalized and may not be easy for applications to extract information. By defining views, apps would have convenient and intuitive way to get information from base tables. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Incremental aggregate/rollup strategy advice

2019-07-08 Thread Tatsuo Ishii
t currently it supports count and sum. https://www.postgresql.org/message-id/20190628195620.c306e3003a83bb85a12f54c5%40sraoss.co.jp Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: TPC-DS queries

2019-03-11 Thread Tatsuo Ishii
t > cannot be used in an expression. Thanks. Yes, you are correct. The line should be something like: ,case when grouping(i_category)+grouping(i_class) = 0 then i_category end > Regards > s. > > On 11.03.2019 06:30, Tatsuo Ishii wrote: >> I played with TPC-DS and found som

TPC-DS queries

2019-03-10 Thread Tatsuo Ishii
the instruction here. https://ankane.org/tpc-ds PostgreSQL is master branch HEAD. For me, the SQL above looks to be valid. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: psql output in Japanese Code Page

2018-12-12 Thread Tatsuo Ishii
y suggestions? > > I tried \encoding WIN1252. Did not work. What's your database encoding? (\l command on psql prompt will show it). Also what's the result of chcp (with no argument). Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Code of Conduct plan

2018-09-19 Thread Tatsuo Ishii
current discussions. > > Of course. I will wait for the text to be settled down. Now that CoC is out, https://www.postgresql.org/about/policies/coc/ I would like to start the translation work. Can somebody suggest me how I can proceed? Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Call for Papers - PGConf.ASIA 2018

2018-07-29 Thread Tatsuo Ishii
City" Akihabara). -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp >> Hi, >> >> PGconf.ASIA 2018 will be held on December 10 to 12 in Tokyo and we are >> now accepting proposals for talks. >> &

Re: Call for Papers - PGConf.ASIA 2018

2018-07-22 Thread Tatsuo Ishii
Hi PostgreSQL lovers, The call for papers for PGConf.ASIA 2018 will be closed on 31st July, 2018 (Japan time). I am looking forward to receiving your great proposals! -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp >

Re: Call for Papers - PGConf.ASIA 2018

2018-07-01 Thread Tatsuo Ishii
Hi PostgreSQL lovers, The call for papers for PGConf.ASIA 2018 will be closed on 31st July, 2018 (Japan time). I am looking forward to receiving your great proposals! -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp >

Re: Code of Conduct plan

2018-06-04 Thread Tatsuo Ishii
ation works when >> it's changed is expected to be minimal, unlike the manual translation >> works. > > Good idea, but let's wait till the text is official; I'm not sure if > we'll change the draft again in response to the current discussions. Of course. I wi

Re: Code of Conduct plan

2018-06-04 Thread Tatsuo Ishii
7;s changed is expected to be minimal, unlike the manual translation works. One concern is, who checks for the correctness of the translations. I think committers could do the job since there are good number of non-English native speakers in the group. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Postgresql database encryption

2018-04-20 Thread Tatsuo Ishii
are ok for you, there are some. Please ask me in a private email (I don't want to spam the list). Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: pgpool Connections Distributions Among Nodes

2018-01-29 Thread Tatsuo Ishii
nyway. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: Postgres HA

2018-01-05 Thread Tatsuo Ishii
Hi, Yes, definitely I am hanging out here. If you have more specific questions to Pgpool-II, you are encouraged to be subscribed to the Pgpool-II mailing list. https://www.pgpool.net/mailman/listinfo/pgpool-general Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http

Re: PGPool encrypted connections from Application

2018-01-02 Thread Tatsuo Ishii
ction to PGPool will it accept? Yes, you can use encrypted connections with Pgpool-II. See FAQ: https://pgpool.net/mediawiki/index.php/FAQ#How_can_I_set_up_SSL_for_pgpool-II.3F and the manual: http://www.pgpool.net/docs/latest/en/html/runtime-ssl.html for more details. Best regards, -- Tatsu

Re: What does tcop stand for?

2017-12-20 Thread Tatsuo Ishii
traffic control between frontend and backend. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp

Re: What does tcop stand for?

2017-12-20 Thread Tatsuo Ishii
> Hi, > > currently browsing the source code in src/include/tcop. What does tcop stand > for? Can not find any hints in the files. Traffic cop. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp