Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit290e3b7

Browse files
committed
Mark pg_config() stable rather than immutable
pg_config() has been marked immutable since its inception. As part of alarger discussion around the definition of immutable versus stable andrelated implications for marking functions parallel safe raised byAndres, the consensus was clearly that pg_config() is stable, sinceit could possibly change output even for the same minor version witha recompile or installation of a new binary. So mark it stable.Theoretically this could/should be backpatched, but it was deemed to be notworth the effort since in practice this is very unlikely to cause problemsin the real world.Discussion:https://postgr.es/m/20181126234521.rh3grz7aavx2ubjv@alap3.anarazel.de
1 parent69e5247 commit290e3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/catalog/pg_proc.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10433,7 +10433,7 @@
1043310433

1043410434
# pg_config
1043510435
{ oid => '3400', descr => 'pg_config binary as a function',
10436-
proname => 'pg_config', prorows => '23', proretset => 't', proparallel => 'r',
10436+
proname => 'pg_config',provolatile => 's',prorows => '23', proretset => 't', proparallel => 'r',
1043710437
prorettype => 'record', proargtypes => '', proallargtypes => '{text,text}',
1043810438
proargmodes => '{o,o}', proargnames => '{name,setting}',
1043910439
prosrc => 'pg_config' },

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp