pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add example of how to generate the session identifier from
2+ messages / 2 participants
[nested] [flat]

* pgsql: Add example of how to generate the session identifier from
@ 2009-06-03 00:38  Bruce Momjian <momjian@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: momjian@postgresql.org @ 2009-06-03 00:38 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Add example of how to generate the session identifier from pg_stat_activity.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        config.sgml (r1.217 -> r1.218)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.217&r2=1.218)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Improve test coverage in bump.c
@ 2024-04-16 04:21  David Rowley <drowley@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: David Rowley @ 2024-04-16 04:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Improve test coverage in bump.c

There were no callers of BumpAllocLarge() in the regression tests, so
here we add a sort with a tuple large enough to use that path in bump.c.

Also, BumpStats() wasn't being called, so add a test to sysviews.sql to
call pg_backend_memory_contexts() while a bump context exists in the
backend.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/20240414223305.m3i5eju6zylabvln@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bea97cd02ebb347ab469b78673c2b33a72109669

Modified Files
--------------
src/test/regress/expected/sysviews.out  | 23 +++++++++++++++++++++++
src/test/regress/expected/tuplesort.out | 13 +++++++++++++
src/test/regress/sql/sysviews.sql       | 15 +++++++++++++++
src/test/regress/sql/tuplesort.sql      |  9 +++++++++
4 files changed, 60 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-04-16 04:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03 00:38 pgsql: Add example of how to generate the session identifier from Bruce Momjian <momjian@postgresql.org>
2024-04-16 04:21 pgsql: Improve test coverage in bump.c David Rowley <drowley@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox