1/*-------------------------------------------------------------------------
4 * Encapsulation of user session.
6 * Copyright (c) 2017-2025, PostgreSQL Global Development Group
8 * src/include/access/session.h
10 *-------------------------------------------------------------------------
17/* Avoid including typcache.h */
21 * A struct encapsulating some elements of a user's session. For now this
22 * manages state that applies to parallel query, but in principle it could
23 * include other things that are currently global variables.
30 /* State managed by typcache.c. */
41/* The current session, or NULL for none. */
void InitializeSession(void)
void AttachSession(dsm_handle handle)
dsm_handle GetSessionDsmHandle(void)
PGDLLIMPORT Session * CurrentSession
dshash_table * shared_record_table
struct SharedRecordTypmodRegistry * shared_typmod_registry
dshash_table * shared_typmod_table