pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Fix parallel-safety markings for pg_upgrade functions.
3+ messages / 2 participants
[nested] [flat]
* pgsql: Fix parallel-safety markings for pg_upgrade functions.
@ 2016-02-07 16:46 Robert Haas <rhaas@postgresql.org>
0 siblings, 0 replies; 3+ messages in thread
From: Robert Haas @ 2016-02-07 16:46 UTC (permalink / raw)
To: pgsql-committers
Fix parallel-safety markings for pg_upgrade functions.
These establish backend-local state which will not be copied to
parallel workers, so they must be marked parallel-restricted, not
parallel-safe.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d89f06f0482458d4b76e3be67ea428fec2a0aeb6
Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix parallel safety markings for pg_start_backup.
@ 2016-05-02 14:44 Robert Haas <rhaas@postgresql.org>
2016-05-02 14:47 ` Re: pgsql: Fix parallel safety markings for pg_start_backup. Magnus Hagander <magnus@hagander.net>
0 siblings, 1 reply; 3+ messages in thread
From: Robert Haas @ 2016-05-02 14:44 UTC (permalink / raw)
To: pgsql-committers
Fix parallel safety markings for pg_start_backup.
Commit 7117685461af50f50c03f43e6a622284c8d54694 made pg_start_backup
parallel-restricted rather than parallel-safe, because it now relies
on backend-private state that won't be synchronized with the parallel
worker. However, it didn't update pg_proc.h. Separately, Andreas
Karlsson observed that system_views.sql neglected to reiterate the
parallel-safety markings whe redefining various functions, including
this one; so add a PARALLEL RESTRICTED declaration there to match
the new value in pg_proc.h.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/37d0c2cb1ab2d3da0cb9a6388450776fc31c16ee
Modified Files
--------------
src/backend/catalog/system_views.sql | 3 ++-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Fix parallel safety markings for pg_start_backup.
2016-05-02 14:44 pgsql: Fix parallel safety markings for pg_start_backup. Robert Haas <rhaas@postgresql.org>
@ 2016-05-02 14:47 ` Magnus Hagander <magnus@hagander.net>
0 siblings, 0 replies; 3+ messages in thread
From: Magnus Hagander @ 2016-05-02 14:47 UTC (permalink / raw)
To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers
Oops, thanks. Need to get used to actually considering this new parallelism
flag when adding new functions, and not just copy/paste.
/Magnus
On May 2, 2016 16:44, "Robert Haas" <rhaas@postgresql.org> wrote:
> Fix parallel safety markings for pg_start_backup.
>
> Commit 7117685461af50f50c03f43e6a622284c8d54694 made pg_start_backup
> parallel-restricted rather than parallel-safe, because it now relies
> on backend-private state that won't be synchronized with the parallel
> worker. However, it didn't update pg_proc.h. Separately, Andreas
> Karlsson observed that system_views.sql neglected to reiterate the
> parallel-safety markings whe redefining various functions, including
> this one; so add a PARALLEL RESTRICTED declaration there to match
> the new value in pg_proc.h.
>
> Branch
> ------
> master
>
> Details
> -------
>
> http://git.postgresql.org/pg/commitdiff/37d0c2cb1ab2d3da0cb9a6388450776fc31c16ee
>
> Modified Files
> --------------
> src/backend/catalog/system_views.sql | 3 ++-
> src/include/catalog/catversion.h | 2 +-
> src/include/catalog/pg_proc.h | 2 +-
> 3 files changed, 4 insertions(+), 3 deletions(-)
>
>
> --
> Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-committers
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-05-02 14:47 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07 16:46 pgsql: Fix parallel-safety markings for pg_upgrade functions. Robert Haas <rhaas@postgresql.org>
2016-05-02 14:44 pgsql: Fix parallel safety markings for pg_start_backup. Robert Haas <rhaas@postgresql.org>
2016-05-02 14:47 ` Re: pgsql: Fix parallel safety markings for pg_start_backup. Magnus Hagander <magnus@hagander.net>
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