Re: Commit Latency

2025-02-05 Thread Álvaro Herrera
Maybe have a look at whether pg_wait_sampling can give you more clues. Some basic bloat monitoring is a prerequisite to any further performance tweaking anyhow. -- Álvaro HerreraBreisgau, Deutschland — https://www.EnterpriseDB.com/ Maybe there's lots of data loss but the records o

Re: size of attributes table is too big

2025-03-19 Thread Álvaro Herrera
all accesses to the table. Does your instance run with autovacuum disabled perchance? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ Bob [Floyd] used to say that he was planning to get a Ph.D. by the "green stamp method," namely by saving envelopes add

Re: After upgrading libpq, the same function(PQftype) call returns a different OID

2025-03-20 Thread Álvaro Herrera
Don't use these names in new code. */ #define CASHOID MONEYOID #define LSNOID PG_LSNOID /* * End of backwards compatibility section. */ #define BOOLOID 16 #define BYTEAOID 17 -- Álvaro HerreraBreisgau, Deutschland — https://www.EnterpriseDB.com/ "I must say, I am

Re: Today Page is not accessible - postgresql-15.spec

2025-03-24 Thread Álvaro Herrera
ada1715-8208-4212-b352-d9ad2a1de...@thebuild.com > It would help to also bring this up on: > > https://www.postgresql.org/list/pgsql-www/ Yeah. -- Álvaro HerreraBreisgau, Deutschland — https://www.EnterpriseDB.com/ "I'm always right, but sometimes I'm more righ

Re: Different execution plans in PG17 and pgBouncer...

2025-05-05 Thread Álvaro Herrera
s could be changed to use SET LOCAL enable_mergejoin=off. That way, the setting reverts to its original value automatically at the end of the transaction. It seems more appropriate when using transaction mode anyway. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/

Re: AW: PGDG PostgreSQL Debian package: Question on conditions for creation of new cluster

2025-02-19 Thread Álvaro Herrera
ttps://salsa.debian.org/postgresql/postgresql-common -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "The Postgresql hackers have what I call a "NASA space shot" mentality. Quite refreshing in a world of "weekend drag racer" developers." (Scott Marlowe)

Re: Extension disappearing act

2025-06-23 Thread Álvaro Herrera
GE plpgsql; CREATE EVENT TRIGGER svar_regress_event_trigger_report_dropped ON sql_drop EXECUTE PROCEDURE report_dropped(); -- Álvaro HerreraBreisgau, Deutschland — https://www.EnterpriseDB.com/ "En las profundidades de nuestro inconsciente hay una obsesiva necesidad de un universo lógico y coherente.

Re: SET LOCAL ROLE inside SECURITY INVOKER (LANGUAGE plpgsql) function

2025-07-31 Thread Álvaro Herrera
lues. I suspect that you aren't able to use DELETE RETURNING either, unless you have SELECT privs. > I get it, a WHERE needs to read, so needs SELECT. Right. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "El destino baraja y nosotros jugamos" (A. Schopenhauer)

Re: Notices not printed by PQtrace

2025-08-05 Thread Álvaro Herrera
chance this could be enhanced, via new opt-in PQsetTraceFlags flags? > Ideally I've like to see everything. Yeah, I think that makes sense. Feel free to propose a patch. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "In Europe they call me Ni