Query regarding certificate authentication in postgres

2023-08-09 Thread Ashok Patil
Hello Sir/Madam, I have one query regarding client/server authentication using certificate in postgres. I am able to establish client server connection with OpenSSL certificate creation. We can create server and root certificates using OpenSSL and keep them in data directory. We need to update f

ignore_system_indexes=on no help for missing/corrupt pg_class_oid_index?

2023-08-09 Thread Jerry Sievers
Originally posted in the Admin list but trying here to get more eyes on it :-) Greetings admins! I found that the ignore_system_indexes flag apparently doesn't get me past this case of a corrupt index as seen below. Or am I doing something silly here? The particular DB is a scratch so we'

Re: PostgreSQL 14.8 - server fails to start even though all transaction logs with base backup are restored

2023-08-09 Thread Stephen Frost
Greetings, * Meera Nair (mn...@commvault.com) wrote: > The backups we ran were all exclusive backups. You should not use exclusive backups. They've been deprecated for a long, long time and have been removed in the most recent version of PG. You really should not be trying to build your own too

PrepareStatement and parameters data types

2023-08-09 Thread ihab sabiq
Hello, I was doing some experimenting to try and reduce the execution time of a query used in a PreparedStatement. To do that, I normally use the Prepare and Execute statements of Postgresql. What I notice is that explicit casting has a considerable performance impact. So using the good data ty

RE: PostgreSQL 14.8 - server fails to start even though all transaction logs with base backup are restored

2023-08-09 Thread Meera Nair
Hi Stephen, The backups we ran were all exclusive backups. pg_start_backup('label') returned 000400020041. Then we made a copy of data directory . Then pg_stop_backup() was executed and it returned 000400020046. After this 2 databases were dropped and recreated (u