Re: dynamic shared memory - Mailing list pgsql-hackers

From Robert Haas
Subject Re: dynamic shared memory
Date
Msg-id CA+Tgmoa79r1b2gym=mJvfKEvt3Su5PiicqosUz0c1nK3LYmtDQ@mail.gmail.com
Whole thread Raw
In response to Re: dynamic shared memory  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: dynamic shared memory
List pgsql-hackers
On Sun, Oct 13, 2013 at 3:07 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> 1. Do you think we should add information about pg_dynshmem file at link:
> http://www.postgresql.org/docs/devel/static/storage-file-layout.html
> It contains information about all files/folders in data directory
>
> 2.
> +/*
> + * Forget that a temporary file is owned by a ResourceOwner
> + */
> +void
> +ResourceOwnerForgetDSM(ResourceOwner owner, dsm_segment *seg)
> +{
>
> Above function description should use 'dynamic shmem segment' rather
> than temporary file.
> "Forget that a dynamic shmem segment is owned by a ResourceOwner"

Good catches, will fix.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: [PATCH] Add use of asprintf()
Next
From: Robert Haas
Date:
Subject: Re: Long paths for tablespace leads to uninterruptible hang in Windows