-
Hi!
/opt/pgpro/std-15/bin/pg_probackup archive-push -B /var/lib/postgresql/15/backup --instance NBS_DBA --wal-file-path=%p --wal-file-name=%f --overwrite --log-format-console=json --log-format-file…
shab2 updated
7 months ago
-
It's worth to see how many files / WAL segments are currently located in pg_xlog/pg_wal and what's the total size.
```sql
select now()::timestamptz(0), count(1), pg_size_pretty(sum((pg_stat_file…
-
## Opened from the [Prefect Public Slack Community](https://prefect.io/slack)
**semnooij**: Hi, wrt keeping the database size and performance good, is there a way to set some sort of retention rate p…
-
ref:
https://dba.stackexchange.com/questions/52235/how-can-i-use-an-environment-variable-in-a-postgres-function
-
Consider looking at the `overlay.rb` that override describe blocks with skip statements to find any applicable checks. For example:
**V-233514 Baseline Code**
```
sql = postgres_session(pg_dba, …
-
## Feature
Request is for a regex "flavor" of postgres, which has syntax differences from say, Python.
A query using a postgres regex looks like:
```
select count(*) from petstore where dba …
-
Protect username/password insert fields from SQL Injection
https://dba.stackexchange.com/questions/49699/sql-injection-in-postgres-functions-vs-prepared-queries
-
**What did you do?**
I've created PostgreSQL user for monitoring as described in the readme
```
Run following command if you use PostgreSQL versions >= 10
GRANT pg_monitor to postgres_exporter…
-
**Is your feature request related to a problem? Please describe.**
When a primary node failover on PostgreSQL cluster specifically Patroni in my case, pgcat needs to be configured again to correctly …
-
- **Which image of the operator are you using?** registry.opensource.zalan.do/acid/postgres-operator:v1.7.1
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** Bare Metal K8s
- **Ar…