Re: Set timeout just on a query?

2022-05-09 Thread Bharath Rupireddy
] https://www.postgresql.org/docs/devel/runtime-config-client.html Regards, Bharath Rupireddy.

Re: primary_conninfo and restore_command ?

2022-03-10 Thread Bharath Rupireddy
it's unlikely that it helps, but one can * hope... */ Regards, Bharath Rupireddy.

Re: Postgres Wal Full

2022-03-03 Thread Bharath Rupireddy
archive failures 2) inactive replication slots (use select * from pg_replication_slots;) 3) infrequent checkpoints (use select * from pg_control_checkpoint; to know the last checkpoint time)4) high write (WAL-generating) workloads. Regards, Bharath Rupireddy.

Re: max_connections different between primary and standby: is it possible?

2022-02-03 Thread Bharath Rupireddy
values and crashes FATALly. The users can look at the logs at once, set all the insufficient parameters to right values and restart the server. Regards, Bharath Rupireddy.

Re: Query on postgres_fdw extension

2021-06-01 Thread Bharath Rupireddy
t a guess as I'm not the right one to answer that question though. With Regards, Bharath Rupireddy.

Re: Query on postgres_fdw extension

2021-05-14 Thread Bharath Rupireddy
ly too messy though. Then the serial column cannot be selected via the foreign table. Maybe, drop the serial column from the foreign table before insertions and add the serial column before the selects from the foreign table. This is not elegant though. With Regards, Bharath Rupireddy. EnterpriseDB: http://www.enterprisedb.com

Re: Query on postgres_fdw extension

2021-05-14 Thread Bharath Rupireddy
b; a 9 10 11 (3 rows) " [1] - https://paquier.xyz/postgresql-2/global-sequences-with-postgres_fdw-and-postgres-core/ With Regards, Bharath Rupireddy. EnterpriseDB: http://www.enterprisedb.com

Re: Query on postgres_fdw extension

2021-05-14 Thread Bharath Rupireddy
SERVER foreign_server OPTIONS (user 'foreign_user', password ''); CREATE FOREIGN TABLE table_a (id serial NOT NULL, topic character varying(50) NOT NULL) SERVER foreign_server OPTIONS (schema_name 'public', table_name 'table_a'); SELECT * FROM table_a; INSERT INTO table_a(topic) VALUES('row1'); INSERT INTO table_a(topic) VALUES('row2'); INSERT INTO table_a(topic) VALUES('row3'); With Regards, Bharath Rupireddy. EnterpriseDB: http://www.enterprisedb.com