From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add new function BackgroundWorkerInitializeConnectionByOid. |
Date: | 2015-02-02 21:33:58 |
Message-ID: | E1YIOd4-0006Cr-LN@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add new function BackgroundWorkerInitializeConnectionByOid.
Sometimes it's useful for a background worker to be able to initialize
its database connection by OID rather than by name, so provide a way
to do that.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5d2f957f3f9dcd88384780876f535b423151f9bf
Modified Files
--------------
doc/src/sgml/bgworker.sgml | 17 ++++++++++-------
src/backend/bootstrap/bootstrap.c | 2 +-
src/backend/postmaster/autovacuum.c | 4 ++--
src/backend/postmaster/postmaster.c | 25 ++++++++++++++++++++++++-
src/backend/tcop/postgres.c | 2 +-
src/backend/utils/init/miscinit.c | 8 +++++---
src/backend/utils/init/postinit.c | 13 ++++++++-----
src/include/miscadmin.h | 4 ++--
src/include/postmaster/bgworker.h | 3 +++
9 files changed, 56 insertions(+), 22 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2015-02-03 07:44:01 | pgsql: Remove dead code. |
Previous Message | Tom Lane | 2015-02-02 20:46:34 | pgsql: Stamp 9.0.19. |