@@ -3623,105 +3623,132 @@
3623
3623
prosrc => 'replace_text' },
3624
3624
{ oid => '2284', descr => 'replace text using regexp',
3625
3625
proname => 'regexp_replace', prorettype => 'text',
3626
- proargtypes => 'text text text', prosrc => 'textregexreplace_noopt' },
3626
+ proargtypes => 'text text text',
3627
+ proargnames => '{string, pattern, replacement}',
3628
+ prosrc => 'textregexreplace_noopt' },
3627
3629
{ oid => '2285', descr => 'replace text using regexp',
3628
3630
proname => 'regexp_replace', prorettype => 'text',
3629
- proargtypes => 'text text text text', prosrc => 'textregexreplace' },
3631
+ proargtypes => 'text text text text',
3632
+ proargnames => '{string, pattern, replacement, flags}',
3633
+ prosrc => 'textregexreplace' },
3630
3634
{ oid => '6251', descr => 'replace text using regexp',
3631
3635
proname => 'regexp_replace', prorettype => 'text',
3632
3636
proargtypes => 'text text text int4 int4 text',
3637
+ proargnames => '{string, pattern, replacement, start, N, flags}',
3633
3638
prosrc => 'textregexreplace_extended' },
3634
3639
{ oid => '6252', descr => 'replace text using regexp',
3635
3640
proname => 'regexp_replace', prorettype => 'text',
3636
3641
proargtypes => 'text text text int4 int4',
3642
+ proargnames => '{string, pattern, replacement, start, N}',
3637
3643
prosrc => 'textregexreplace_extended_no_flags' },
3638
3644
{ oid => '6253', descr => 'replace text using regexp',
3639
3645
proname => 'regexp_replace', prorettype => 'text',
3640
3646
proargtypes => 'text text text int4',
3647
+ proargnames => '{string, pattern, replacement, start}',
3641
3648
prosrc => 'textregexreplace_extended_no_n' },
3642
3649
{ oid => '3396', descr => 'find first match for regexp',
3643
3650
proname => 'regexp_match', prorettype => '_text', proargtypes => 'text text',
3644
- prosrc => 'regexp_match_no_flags' },
3651
+ proargnames => '{string, pattern}', prosrc => 'regexp_match_no_flags' },
3645
3652
{ oid => '3397', descr => 'find first match for regexp',
3646
3653
proname => 'regexp_match', prorettype => '_text',
3647
- proargtypes => 'text text text', prosrc => 'regexp_match' },
3654
+ proargtypes => 'text text text', proargnames => '{string, pattern, flags}',
3655
+ prosrc => 'regexp_match' },
3648
3656
{ oid => '2763', descr => 'find match(es) for regexp',
3649
3657
proname => 'regexp_matches', prorows => '1', proretset => 't',
3650
3658
prorettype => '_text', proargtypes => 'text text',
3651
- prosrc => 'regexp_matches_no_flags' },
3659
+ proargnames => '{string, pattern}', prosrc => 'regexp_matches_no_flags' },
3652
3660
{ oid => '2764', descr => 'find match(es) for regexp',
3653
3661
proname => 'regexp_matches', prorows => '10', proretset => 't',
3654
3662
prorettype => '_text', proargtypes => 'text text text',
3655
- prosrc => 'regexp_matches' },
3663
+ proargnames => '{string, pattern, flags}', prosrc => 'regexp_matches' },
3656
3664
{ oid => '6254', descr => 'count regexp matches',
3657
3665
proname => 'regexp_count', prorettype => 'int4', proargtypes => 'text text',
3658
- prosrc => 'regexp_count_no_start' },
3666
+ proargnames => '{string, pattern}', prosrc => 'regexp_count_no_start' },
3659
3667
{ oid => '6255', descr => 'count regexp matches',
3660
3668
proname => 'regexp_count', prorettype => 'int4',
3661
- proargtypes => 'text text int4', prosrc => 'regexp_count_no_flags' },
3669
+ proargtypes => 'text text int4', proargnames => '{string, pattern, start}',
3670
+ prosrc => 'regexp_count_no_flags' },
3662
3671
{ oid => '6256', descr => 'count regexp matches',
3663
3672
proname => 'regexp_count', prorettype => 'int4',
3664
- proargtypes => 'text text int4 text', prosrc => 'regexp_count' },
3673
+ proargtypes => 'text text int4 text',
3674
+ proargnames => '{string, pattern, start, flags}', prosrc => 'regexp_count' },
3665
3675
{ oid => '6257', descr => 'position of regexp match',
3666
3676
proname => 'regexp_instr', prorettype => 'int4', proargtypes => 'text text',
3667
- prosrc => 'regexp_instr_no_start' },
3677
+ proargnames => '{string, pattern}', prosrc => 'regexp_instr_no_start' },
3668
3678
{ oid => '6258', descr => 'position of regexp match',
3669
3679
proname => 'regexp_instr', prorettype => 'int4',
3670
- proargtypes => 'text text int4', prosrc => 'regexp_instr_no_n' },
3680
+ proargtypes => 'text text int4', proargnames => '{string, pattern, start}',
3681
+ prosrc => 'regexp_instr_no_n' },
3671
3682
{ oid => '6259', descr => 'position of regexp match',
3672
3683
proname => 'regexp_instr', prorettype => 'int4',
3673
- proargtypes => 'text text int4 int4', prosrc => 'regexp_instr_no_endoption' },
3684
+ proargtypes => 'text text int4 int4',
3685
+ proargnames => '{string, pattern, start, N}',
3686
+ prosrc => 'regexp_instr_no_endoption' },
3674
3687
{ oid => '6260', descr => 'position of regexp match',
3675
3688
proname => 'regexp_instr', prorettype => 'int4',
3676
3689
proargtypes => 'text text int4 int4 int4',
3690
+ proargnames => '{string, pattern, start, N, endoption}',
3677
3691
prosrc => 'regexp_instr_no_flags' },
3678
3692
{ oid => '6261', descr => 'position of regexp match',
3679
3693
proname => 'regexp_instr', prorettype => 'int4',
3680
3694
proargtypes => 'text text int4 int4 int4 text',
3695
+ proargnames => '{string, pattern, start, N, endoption, flags}',
3681
3696
prosrc => 'regexp_instr_no_subexpr' },
3682
3697
{ oid => '6262', descr => 'position of regexp match',
3683
3698
proname => 'regexp_instr', prorettype => 'int4',
3684
3699
proargtypes => 'text text int4 int4 int4 text int4',
3700
+ proargnames => '{string, pattern, start, N, endoption, flags, subexpr}',
3685
3701
prosrc => 'regexp_instr' },
3686
3702
{ oid => '6263', descr => 'test for regexp match',
3687
3703
proname => 'regexp_like', prorettype => 'bool', proargtypes => 'text text',
3688
- prosrc => 'regexp_like_no_flags' },
3704
+ proargnames => '{string, pattern}', prosrc => 'regexp_like_no_flags' },
3689
3705
{ oid => '6264', descr => 'test for regexp match',
3690
3706
proname => 'regexp_like', prorettype => 'bool',
3691
- proargtypes => 'text text text', prosrc => 'regexp_like' },
3707
+ proargtypes => 'text text text', proargnames => '{string, pattern,flags}',
3708
+ prosrc => 'regexp_like' },
3692
3709
{ oid => '6265', descr => 'extract substring that matches regexp',
3693
3710
proname => 'regexp_substr', prorettype => 'text', proargtypes => 'text text',
3694
- prosrc => 'regexp_substr_no_start' },
3711
+ proargnames => '{string, pattern}', prosrc => 'regexp_substr_no_start' },
3695
3712
{ oid => '6266', descr => 'extract substring that matches regexp',
3696
3713
proname => 'regexp_substr', prorettype => 'text',
3697
- proargtypes => 'text text int4', prosrc => 'regexp_substr_no_n' },
3714
+ proargtypes => 'text text int4', proargnames => '{string, pattern, start}',
3715
+ prosrc => 'regexp_substr_no_n' },
3698
3716
{ oid => '6267', descr => 'extract substring that matches regexp',
3699
3717
proname => 'regexp_substr', prorettype => 'text',
3700
- proargtypes => 'text text int4 int4', prosrc => 'regexp_substr_no_flags' },
3718
+ proargtypes => 'text text int4 int4',
3719
+ proargnames => '{string, pattern, start, N}',
3720
+ prosrc => 'regexp_substr_no_flags' },
3701
3721
{ oid => '6268', descr => 'extract substring that matches regexp',
3702
3722
proname => 'regexp_substr', prorettype => 'text',
3703
3723
proargtypes => 'text text int4 int4 text',
3724
+ proargnames => '{string, pattern, start, N, flags}',
3704
3725
prosrc => 'regexp_substr_no_subexpr' },
3705
3726
{ oid => '6269', descr => 'extract substring that matches regexp',
3706
3727
proname => 'regexp_substr', prorettype => 'text',
3707
- proargtypes => 'text text int4 int4 text int4', prosrc => 'regexp_substr' },
3728
+ proargtypes => 'text text int4 int4 text int4',
3729
+ proargnames => '{string, pattern, start, N, flags, subexpr}',
3730
+ prosrc => 'regexp_substr' },
3708
3731
{ oid => '2088', descr => 'split string by field_sep and return field_num',
3709
3732
proname => 'split_part', prorettype => 'text',
3710
3733
proargtypes => 'text text int4', prosrc => 'split_part' },
3711
3734
{ oid => '2765', descr => 'split string by pattern',
3712
3735
proname => 'regexp_split_to_table', prorows => '1000', proretset => 't',
3713
3736
prorettype => 'text', proargtypes => 'text text',
3737
+ proargnames => '{string, pattern}',
3714
3738
prosrc => 'regexp_split_to_table_no_flags' },
3715
3739
{ oid => '2766', descr => 'split string by pattern',
3716
3740
proname => 'regexp_split_to_table', prorows => '1000', proretset => 't',
3717
3741
prorettype => 'text', proargtypes => 'text text text',
3742
+ proargnames => '{string, pattern, flags}',
3718
3743
prosrc => 'regexp_split_to_table' },
3719
3744
{ oid => '2767', descr => 'split string by pattern',
3720
3745
proname => 'regexp_split_to_array', prorettype => '_text',
3721
- proargtypes => 'text text', prosrc => 'regexp_split_to_array_no_flags' },
3746
+ proargtypes => 'text text', proargnames => '{string, pattern}',
3747
+ prosrc => 'regexp_split_to_array_no_flags' },
3722
3748
{ oid => '2768', descr => 'split string by pattern',
3723
3749
proname => 'regexp_split_to_array', prorettype => '_text',
3724
- proargtypes => 'text text text', prosrc => 'regexp_split_to_array' },
3750
+ proargtypes => 'text text text', proargnames => '{string, pattern, flags}',
3751
+ prosrc => 'regexp_split_to_array' },
3725
3752
{ oid => '6330', descr => 'convert int4 number to binary',
3726
3753
proname => 'to_bin', prorettype => 'text', proargtypes => 'int4',
3727
3754
prosrc => 'to_bin32' },
0 commit comments