Skip to content

Commit f762d99

Browse files
committed
Fix catalog data of new LO privilege functions
This commit improves the catalog data in pg_proc for the three functions for has_largeobject_privilege(), introduced in 4eada20: - Fix their descriptions (typos and consistency). - Reallocate OIDs to be within the 8000-9999 range as required by a641707. Bump catalog version. Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/ZvUYR0V0dzWaLnsV@paquier.xyz
1 parent b52adba commit f762d99

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
*/
5858

5959
/* yyyymmddN */
60-
#define CATALOG_VERSION_NO 202409261
60+
#define CATALOG_VERSION_NO 202409271
6161

6262
#endif

src/include/catalog/pg_proc.dat

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5369,15 +5369,18 @@
53695369
prorettype => 'bool', proargtypes => 'oid text',
53705370
prosrc => 'has_any_column_privilege_id' },
53715371

5372-
{ oid => '4551', descr => 'user privilege on large objct by username, large object oid',
5372+
{ oid => '8048',
5373+
descr => 'user privilege on large object by username, large object oid',
53735374
proname => 'has_largeobject_privilege', procost => '10', provolatile => 's',
53745375
prorettype => 'bool', proargtypes => 'name oid text',
53755376
prosrc => 'has_largeobject_privilege_name_id' },
5376-
{ oid => '4552', descr => 'current privilege on large objct by large object oid',
5377+
{ oid => '8049',
5378+
descr => 'current user privilege on large object by large object oid',
53775379
proname => 'has_largeobject_privilege', procost => '10', provolatile => 's',
53785380
prorettype => 'bool', proargtypes => 'oid text',
53795381
prosrc => 'has_largeobject_privilege_id' },
5380-
{ oid => '4553', descr => 'user privilege on large objct by user oid, large object oid',
5382+
{ oid => '8050',
5383+
descr => 'user privilege on large object by user oid, large object oid',
53815384
proname => 'has_largeobject_privilege', procost => '10', provolatile => 's',
53825385
prorettype => 'bool', proargtypes => 'oid oid text',
53835386
prosrc => 'has_largeobject_privilege_id_id' },

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy