Skip to content

Commit 8a2df44

Browse files
committed
Update dummy prosrc values.
Ooops, forgot to s/system_views.sql/system_functions.sql/g in this part of 767982e. No need for an additional catversion bump, I think, since these strings are gone by the time initdb finishes. Discussion: https://postgr.es/m/3956760.1618529139@sss.pgh.pa.us
1 parent 767982e commit 8a2df44

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

src/include/catalog/pg_proc.dat

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2364,7 +2364,7 @@
23642364
{ oid => '1176', descr => 'convert date and time to timestamp with time zone',
23652365
proname => 'timestamptz', prolang => 'sql', provolatile => 's',
23662366
prorettype => 'timestamptz', proargtypes => 'date time',
2367-
prosrc => 'see system_views.sql' },
2367+
prosrc => 'see system_functions.sql' },
23682368
{ oid => '1178', descr => 'convert timestamp with time zone to date',
23692369
proname => 'date', provolatile => 's', prorettype => 'date',
23702370
proargtypes => 'timestamptz', prosrc => 'timestamptz_date' },
@@ -2417,16 +2417,16 @@
24172417
{ oid => '1215', descr => 'get description for object id and catalog name',
24182418
proname => 'obj_description', prolang => 'sql', procost => '100',
24192419
provolatile => 's', prorettype => 'text', proargtypes => 'oid name',
2420-
prosrc => 'see system_views.sql' },
2420+
prosrc => 'see system_functions.sql' },
24212421
{ oid => '1216', descr => 'get description for table column',
24222422
proname => 'col_description', prolang => 'sql', procost => '100',
24232423
provolatile => 's', prorettype => 'text', proargtypes => 'oid int4',
2424-
prosrc => 'see system_views.sql' },
2424+
prosrc => 'see system_functions.sql' },
24252425
{ oid => '1993',
24262426
descr => 'get description for object id and shared catalog name',
24272427
proname => 'shobj_description', prolang => 'sql', procost => '100',
24282428
provolatile => 's', prorettype => 'text', proargtypes => 'oid name',
2429-
prosrc => 'see system_views.sql' },
2429+
prosrc => 'see system_functions.sql' },
24302430

24312431
{ oid => '1217',
24322432
descr => 'truncate timestamp with time zone to specified units',
@@ -2601,13 +2601,13 @@
26012601

26022602
{ oid => '1296',
26032603
proname => 'timedate_pl', prolang => 'sql', prorettype => 'timestamp',
2604-
proargtypes => 'time date', prosrc => 'see system_views.sql' },
2604+
proargtypes => 'time date', prosrc => 'see system_functions.sql' },
26052605
{ oid => '1297',
26062606
proname => 'datetimetz_pl', prorettype => 'timestamptz',
26072607
proargtypes => 'date timetz', prosrc => 'datetimetz_timestamptz' },
26082608
{ oid => '1298',
26092609
proname => 'timetzdate_pl', prolang => 'sql', prorettype => 'timestamptz',
2610-
proargtypes => 'timetz date', prosrc => 'see system_views.sql' },
2610+
proargtypes => 'timetz date', prosrc => 'see system_functions.sql' },
26112611
{ oid => '1299', descr => 'current transaction time',
26122612
proname => 'now', provolatile => 's', prorettype => 'timestamptz',
26132613
proargtypes => '', prosrc => 'now' },
@@ -2651,33 +2651,33 @@
26512651
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
26522652
provolatile => 's', prorettype => 'bool',
26532653
proargtypes => 'timestamptz interval timestamptz interval',
2654-
prosrc => 'see system_views.sql' },
2654+
prosrc => 'see system_functions.sql' },
26552655
{ oid => '1306', descr => 'intervals overlap?',
26562656
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
26572657
provolatile => 's', prorettype => 'bool',
26582658
proargtypes => 'timestamptz timestamptz timestamptz interval',
2659-
prosrc => 'see system_views.sql' },
2659+
prosrc => 'see system_functions.sql' },
26602660
{ oid => '1307', descr => 'intervals overlap?',
26612661
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
26622662
provolatile => 's', prorettype => 'bool',
26632663
proargtypes => 'timestamptz interval timestamptz timestamptz',
2664-
prosrc => 'see system_views.sql' },
2664+
prosrc => 'see system_functions.sql' },
26652665

26662666
{ oid => '1308', descr => 'intervals overlap?',
26672667
proname => 'overlaps', proisstrict => 'f', prorettype => 'bool',
26682668
proargtypes => 'time time time time', prosrc => 'overlaps_time' },
26692669
{ oid => '1309', descr => 'intervals overlap?',
26702670
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
26712671
prorettype => 'bool', proargtypes => 'time interval time interval',
2672-
prosrc => 'see system_views.sql' },
2672+
prosrc => 'see system_functions.sql' },
26732673
{ oid => '1310', descr => 'intervals overlap?',
26742674
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
26752675
prorettype => 'bool', proargtypes => 'time time time interval',
2676-
prosrc => 'see system_views.sql' },
2676+
prosrc => 'see system_functions.sql' },
26772677
{ oid => '1311', descr => 'intervals overlap?',
26782678
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
26792679
prorettype => 'bool', proargtypes => 'time interval time time',
2680-
prosrc => 'see system_views.sql' },
2680+
prosrc => 'see system_functions.sql' },
26812681

26822682
{ oid => '1312', descr => 'I/O',
26832683
proname => 'timestamp_in', provolatile => 's', prorettype => 'timestamp',
@@ -2758,7 +2758,7 @@
27582758
{ oid => '1348', descr => 'deprecated, use two-argument form instead',
27592759
proname => 'obj_description', prolang => 'sql', procost => '100',
27602760
provolatile => 's', prorettype => 'text', proargtypes => 'oid',
2761-
prosrc => 'see system_views.sql' },
2761+
prosrc => 'see system_functions.sql' },
27622762

27632763
{ oid => '1349', descr => 'print type names of oidvector field',
27642764
proname => 'oidvectortypes', provolatile => 's', prorettype => 'text',
@@ -2841,7 +2841,7 @@
28412841

28422842
{ oid => '1384', descr => 'extract field from date',
28432843
proname => 'date_part', prolang => 'sql', prorettype => 'float8',
2844-
proargtypes => 'text date', prosrc => 'see system_views.sql' },
2844+
proargtypes => 'text date', prosrc => 'see system_functions.sql' },
28452845
{ oid => '9979', descr => 'extract field from date',
28462846
proname => 'extract', prorettype => 'numeric', proargtypes => 'text date',
28472847
prosrc => 'extract_date' },
@@ -2855,7 +2855,7 @@
28552855
descr => 'date difference from today preserving months and years',
28562856
proname => 'age', prolang => 'sql', provolatile => 's',
28572857
prorettype => 'interval', proargtypes => 'timestamptz',
2858-
prosrc => 'see system_views.sql' },
2858+
prosrc => 'see system_functions.sql' },
28592859

28602860
{ oid => '1388',
28612861
descr => 'convert timestamp with time zone to time with time zone',
@@ -2969,7 +2969,7 @@
29692969
prosrc => 'box_div' },
29702970
{ oid => '1426',
29712971
proname => 'path_contain_pt', prolang => 'sql', prorettype => 'bool',
2972-
proargtypes => 'path point', prosrc => 'see system_views.sql' },
2972+
proargtypes => 'path point', prosrc => 'see system_functions.sql' },
29732973
{ oid => '1428',
29742974
proname => 'poly_contain_pt', prorettype => 'bool',
29752975
proargtypes => 'polygon point', prosrc => 'poly_contain_pt' },
@@ -3229,7 +3229,7 @@
32293229
prosrc => 'circle_center' },
32303230
{ oid => '1544', descr => 'convert circle to 12-vertex polygon',
32313231
proname => 'polygon', prolang => 'sql', prorettype => 'polygon',
3232-
proargtypes => 'circle', prosrc => 'see system_views.sql' },
3232+
proargtypes => 'circle', prosrc => 'see system_functions.sql' },
32333233
{ oid => '1545', descr => 'number of points',
32343234
proname => 'npoints', prorettype => 'int4', proargtypes => 'path',
32353235
prosrc => 'path_npoints' },
@@ -3525,10 +3525,10 @@
35253525
prosrc => 'translate' },
35263526
{ oid => '879', descr => 'left-pad string to length',
35273527
proname => 'lpad', prolang => 'sql', prorettype => 'text',
3528-
proargtypes => 'text int4', prosrc => 'see system_views.sql' },
3528+
proargtypes => 'text int4', prosrc => 'see system_functions.sql' },
35293529
{ oid => '880', descr => 'right-pad string to length',
35303530
proname => 'rpad', prolang => 'sql', prorettype => 'text',
3531-
proargtypes => 'text int4', prosrc => 'see system_views.sql' },
3531+
proargtypes => 'text int4', prosrc => 'see system_functions.sql' },
35323532
{ oid => '881', descr => 'trim spaces from left end of string',
35333533
proname => 'ltrim', prorettype => 'text', proargtypes => 'text',
35343534
prosrc => 'ltrim1' },
@@ -4144,7 +4144,7 @@
41444144
prosrc => 'inetpl' },
41454145
{ oid => '2631',
41464146
proname => 'int8pl_inet', prolang => 'sql', prorettype => 'inet',
4147-
proargtypes => 'int8 inet', prosrc => 'see system_views.sql' },
4147+
proargtypes => 'int8 inet', prosrc => 'see system_functions.sql' },
41484148
{ oid => '2632',
41494149
proname => 'inetmi_int8', prorettype => 'inet', proargtypes => 'inet int8',
41504150
prosrc => 'inetmi_int8' },
@@ -4276,13 +4276,13 @@
42764276
prosrc => 'numeric_round' },
42774277
{ oid => '1708', descr => 'value rounded to \'scale\' of zero',
42784278
proname => 'round', prolang => 'sql', prorettype => 'numeric',
4279-
proargtypes => 'numeric', prosrc => 'see system_views.sql' },
4279+
proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
42804280
{ oid => '1709', descr => 'value truncated to \'scale\'',
42814281
proname => 'trunc', prorettype => 'numeric', proargtypes => 'numeric int4',
42824282
prosrc => 'numeric_trunc' },
42834283
{ oid => '1710', descr => 'value truncated to \'scale\' of zero',
42844284
proname => 'trunc', prolang => 'sql', prorettype => 'numeric',
4285-
proargtypes => 'numeric', prosrc => 'see system_views.sql' },
4285+
proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
42864286
{ oid => '1711', descr => 'nearest integer >= value',
42874287
proname => 'ceil', prorettype => 'numeric', proargtypes => 'numeric',
42884288
prosrc => 'numeric_ceil' },
@@ -4382,10 +4382,10 @@
43824382
proargtypes => 'int4', prosrc => 'int4_numeric' },
43834383
{ oid => '1741', descr => 'base 10 logarithm',
43844384
proname => 'log', prolang => 'sql', prorettype => 'numeric',
4385-
proargtypes => 'numeric', prosrc => 'see system_views.sql' },
4385+
proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
43864386
{ oid => '1481', descr => 'base 10 logarithm',
43874387
proname => 'log10', prolang => 'sql', prorettype => 'numeric',
4388-
proargtypes => 'numeric', prosrc => 'see system_views.sql' },
4388+
proargtypes => 'numeric', prosrc => 'see system_functions.sql' },
43894389
{ oid => '1742', descr => 'convert float4 to numeric',
43904390
proname => 'numeric', proleakproof => 't', prorettype => 'numeric',
43914391
proargtypes => 'float4', prosrc => 'float4_numeric' },
@@ -4569,13 +4569,13 @@
45694569

45704570
{ oid => '1810', descr => 'length in bits',
45714571
proname => 'bit_length', prolang => 'sql', prorettype => 'int4',
4572-
proargtypes => 'bytea', prosrc => 'see system_views.sql' },
4572+
proargtypes => 'bytea', prosrc => 'see system_functions.sql' },
45734573
{ oid => '1811', descr => 'length in bits',
45744574
proname => 'bit_length', prolang => 'sql', prorettype => 'int4',
4575-
proargtypes => 'text', prosrc => 'see system_views.sql' },
4575+
proargtypes => 'text', prosrc => 'see system_functions.sql' },
45764576
{ oid => '1812', descr => 'length in bits',
45774577
proname => 'bit_length', prolang => 'sql', prorettype => 'int4',
4578-
proargtypes => 'bit', prosrc => 'see system_views.sql' },
4578+
proargtypes => 'bit', prosrc => 'see system_functions.sql' },
45794579

45804580
# Selectivity estimators for LIKE and related operators
45814581
{ oid => '1814', descr => 'restriction selectivity of ILIKE',
@@ -4894,7 +4894,7 @@
48944894

48954895
{ oid => '1848',
48964896
proname => 'interval_pl_time', prolang => 'sql', prorettype => 'time',
4897-
proargtypes => 'interval time', prosrc => 'see system_views.sql' },
4897+
proargtypes => 'interval time', prosrc => 'see system_functions.sql' },
48984898

48994899
{ oid => '1850',
49004900
proname => 'int28eq', proleakproof => 't', prorettype => 'bool',
@@ -5903,15 +5903,15 @@
59035903
{ oid => '2042', descr => 'intervals overlap?',
59045904
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
59055905
prorettype => 'bool', proargtypes => 'timestamp interval timestamp interval',
5906-
prosrc => 'see system_views.sql' },
5906+
prosrc => 'see system_functions.sql' },
59075907
{ oid => '2043', descr => 'intervals overlap?',
59085908
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
59095909
prorettype => 'bool', proargtypes => 'timestamp timestamp timestamp interval',
5910-
prosrc => 'see system_views.sql' },
5910+
prosrc => 'see system_functions.sql' },
59115911
{ oid => '2044', descr => 'intervals overlap?',
59125912
proname => 'overlaps', prolang => 'sql', proisstrict => 'f',
59135913
prorettype => 'bool', proargtypes => 'timestamp interval timestamp timestamp',
5914-
prosrc => 'see system_views.sql' },
5914+
prosrc => 'see system_functions.sql' },
59155915
{ oid => '2045', descr => 'less-equal-greater',
59165916
proname => 'timestamp_cmp', proleakproof => 't', prorettype => 'int4',
59175917
proargtypes => 'timestamp timestamp', prosrc => 'timestamp_cmp' },
@@ -5977,7 +5977,7 @@
59775977
descr => 'date difference from today preserving months and years',
59785978
proname => 'age', prolang => 'sql', provolatile => 's',
59795979
prorettype => 'interval', proargtypes => 'timestamp',
5980-
prosrc => 'see system_views.sql' },
5980+
prosrc => 'see system_functions.sql' },
59815981

59825982
{ oid => '2069', descr => 'adjust timestamp to new time zone',
59835983
proname => 'timezone', prorettype => 'timestamptz',
@@ -5997,7 +5997,7 @@
59975997
prosrc => 'textregexsubstr' },
59985998
{ oid => '2074', descr => 'extract text matching SQL regular expression',
59995999
proname => 'substring', prolang => 'sql', prorettype => 'text',
6000-
proargtypes => 'text text text', prosrc => 'see system_views.sql' },
6000+
proargtypes => 'text text text', prosrc => 'see system_functions.sql' },
60016001

60026002
{ oid => '2075', descr => 'convert int8 to bitstring',
60036003
proname => 'bit', prorettype => 'bit', proargtypes => 'int8 int4',
@@ -6362,11 +6362,11 @@
63626362
{ oid => '3935', descr => 'sleep for the specified interval',
63636363
proname => 'pg_sleep_for', prolang => 'sql', provolatile => 'v',
63646364
prorettype => 'void', proargtypes => 'interval',
6365-
prosrc => 'see system_views.sql' },
6365+
prosrc => 'see system_functions.sql' },
63666366
{ oid => '3936', descr => 'sleep until the specified time',
63676367
proname => 'pg_sleep_until', prolang => 'sql', provolatile => 'v',
63686368
prorettype => 'void', proargtypes => 'timestamptz',
6369-
prosrc => 'see system_views.sql' },
6369+
prosrc => 'see system_functions.sql' },
63706370
{ oid => '315', descr => 'Is JIT compilation available in this session?',
63716371
proname => 'pg_jit_available', provolatile => 'v', prorettype => 'bool',
63726372
proargtypes => '', prosrc => 'pg_jit_available' },
@@ -7181,7 +7181,7 @@
71817181
descr => 'disk space usage for the main fork of the specified table or index',
71827182
proname => 'pg_relation_size', prolang => 'sql', provolatile => 'v',
71837183
prorettype => 'int8', proargtypes => 'regclass',
7184-
prosrc => 'see system_views.sql' },
7184+
prosrc => 'see system_functions.sql' },
71857185
{ oid => '2332',
71867186
descr => 'disk space usage for the specified fork of a table or index',
71877187
proname => 'pg_relation_size', provolatile => 'v', prorettype => 'int8',
@@ -8100,21 +8100,21 @@
81008100
# formerly-missing interval + datetime operators
81018101
{ oid => '2546',
81028102
proname => 'interval_pl_date', prolang => 'sql', prorettype => 'timestamp',
8103-
proargtypes => 'interval date', prosrc => 'see system_views.sql' },
8103+
proargtypes => 'interval date', prosrc => 'see system_functions.sql' },
81048104
{ oid => '2547',
81058105
proname => 'interval_pl_timetz', prolang => 'sql', prorettype => 'timetz',
8106-
proargtypes => 'interval timetz', prosrc => 'see system_views.sql' },
8106+
proargtypes => 'interval timetz', prosrc => 'see system_functions.sql' },
81078107
{ oid => '2548',
81088108
proname => 'interval_pl_timestamp', prolang => 'sql',
81098109
prorettype => 'timestamp', proargtypes => 'interval timestamp',
8110-
prosrc => 'see system_views.sql' },
8110+
prosrc => 'see system_functions.sql' },
81118111
{ oid => '2549',
81128112
proname => 'interval_pl_timestamptz', prolang => 'sql', provolatile => 's',
81138113
prorettype => 'timestamptz', proargtypes => 'interval timestamptz',
8114-
prosrc => 'see system_views.sql' },
8114+
prosrc => 'see system_functions.sql' },
81158115
{ oid => '2550',
81168116
proname => 'integer_pl_date', prolang => 'sql', prorettype => 'date',
8117-
proargtypes => 'int4 date', prosrc => 'see system_views.sql' },
8117+
proargtypes => 'int4 date', prosrc => 'see system_functions.sql' },
81188118

81198119
{ oid => '2556', descr => 'get OIDs of databases in a tablespace',
81208120
proname => 'pg_tablespace_databases', prorows => '1000', proretset => 't',
@@ -8597,7 +8597,7 @@
85978597
prosrc => 'xpath' },
85988598
{ oid => '2932', descr => 'evaluate XPath expression',
85998599
proname => 'xpath', prolang => 'sql', prorettype => '_xml',
8600-
proargtypes => 'text xml', prosrc => 'see system_views.sql' },
8600+
proargtypes => 'text xml', prosrc => 'see system_functions.sql' },
86018601

86028602
{ oid => '2614', descr => 'test XML value against XPath expression',
86038603
proname => 'xmlexists', prorettype => 'bool', proargtypes => 'text xml',
@@ -8609,7 +8609,7 @@
86098609
proargtypes => 'text xml _text', prosrc => 'xpath_exists' },
86108610
{ oid => '3050', descr => 'test XML value against XPath expression',
86118611
proname => 'xpath_exists', prolang => 'sql', prorettype => 'bool',
8612-
proargtypes => 'text xml', prosrc => 'see system_views.sql' },
8612+
proargtypes => 'text xml', prosrc => 'see system_functions.sql' },
86138613
{ oid => '3051', descr => 'determine if a string is well formed XML',
86148614
proname => 'xml_is_well_formed', provolatile => 's', prorettype => 'bool',
86158615
proargtypes => 'text', prosrc => 'xml_is_well_formed' },
@@ -8874,7 +8874,7 @@
88748874
proargtypes => 'pg_lsn numeric', prosrc => 'pg_lsn_pli' },
88758875
{ oid => '5023',
88768876
proname => 'numeric_pl_pg_lsn', prolang => 'sql', prorettype => 'pg_lsn',
8877-
proargtypes => 'numeric pg_lsn', prosrc => 'see system_views.sql' },
8877+
proargtypes => 'numeric pg_lsn', prosrc => 'see system_functions.sql' },
88788878
{ oid => '5024',
88798879
proname => 'pg_lsn_mii', prorettype => 'pg_lsn',
88808880
proargtypes => 'pg_lsn numeric', prosrc => 'pg_lsn_mii' },
@@ -9319,7 +9319,7 @@
93199319
proallargtypes => '{regconfig,text,text,text,text,_regdictionary,regdictionary,_text}',
93209320
proargmodes => '{i,i,o,o,o,o,o,o}',
93219321
proargnames => '{config,document,alias,description,token,dictionaries,dictionary,lexemes}',
9322-
prosrc => 'see system_views.sql' },
9322+
prosrc => 'see system_functions.sql' },
93239323

93249324
{ oid => '9532',
93259325
descr => 'debug function for current text search configuration',
@@ -9328,7 +9328,7 @@
93289328
proallargtypes => '{text,text,text,text,_regdictionary,regdictionary,_text}',
93299329
proargmodes => '{i,o,o,o,o,o,o}',
93309330
proargnames => '{document,alias,description,token,dictionaries,dictionary,lexemes}',
9331-
prosrc => 'see system_views.sql' },
9331+
prosrc => 'see system_functions.sql' },
93329332

93339333
{ oid => '3725', descr => '(internal)',
93349334
proname => 'dsimple_init', prorettype => 'internal',

0 commit comments

Comments
 (0)