aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-03-24 19:27:22 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-03-28 19:44:30 -0300
commit767bc028e5f001351feb498acef9a87c123093d6 (patch)
tree433551f6a54700041640f7b951f65e5f8cb8c881 /src/backend/parser/parse_clause.c
parent2c4debbd0f018aa7322b622c88424a7f68d3081d (diff)
downloadpostgresql-767bc028e5f001351feb498acef9a87c123093d6.tar.gz
postgresql-767bc028e5f001351feb498acef9a87c123093d6.zip
Allow DSM segments to be created as pinned
dsm_create and dsm_attach assumed that a current resource owner was always in place. Exploration with the API show that this is inconvenient: sometimes one must create a dummy resowner, create/attach the DSM, only to pin the mapping later, which is wasteful. Change create/attach so that if there is no current resowner, the dsm is effectively pinned right from the start. Discussion: https://postgr.es/m/20170324232710.32acsfsvjqfgc6ud@alvherre.pgsql Reviewed by Thomas Munro.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions