We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.postgresql.org/docs/current/functions-string.html https://www.postgresql.org/docs/current/functions-binarystring.html
Make sure to test special values: empty string, multi-byte Unicode.
proto ExprType 202..=211, 215, 216, 218, 220, 223..=232, 235..=244, 310..=399
||
concat
concat_ws
bit_length
char_length
character_length
octet_length
length
POSITION(substring IN string) → integer
strpos
overlay(string PLACING newsubstring FROM start [FOR count])
substring
substr
left
right
trim
ltrim
rtrim
btrim
position
lower
upper
initcap
lpad
rpad
repeat
reverse
replace
translate
split_part
starts_with
^@
string_to_array
ascii
chr
to_hex
quote_ident
quote_literal
quote_nullable
parse_ident
md5
bit_count
get_bit
set_bit
get_byte
set_byte
encode
decode
&
|
#
~
<<
>>
Aggregate
bit_and
bit_or
bit_xor
LIKE
SIMILAR
https://www.postgresql.org/docs/current/functions-matching.html
~~
!~~
ESCAPE
[NOT] ILIKE
~~*
!~~*
[NOT] SIMILAR TO
substring(string similar pattern escape escape-character)
substring(string from pattern for escape-character)
~*
!~
!~*
regexp_like
regexp_count
regexp_instr
regexp_substr
regexp_match
regexp_replace
regexp_split_to_array
substring(string from pattern)
format
https://www.postgresql.org/docs/current/functions-formatting.html
to_char
to_date(varchar, varchar)
to_timestamp(varchar, varchar)
to_number(varchar, varchar)
varchar
pg_client_encoding
normalize
is normalized
to_ascii
unistr
bytea
convert
convert_from
convert_to
string_agg
string_to_table
regexp_matches
regexp_split_to_table
The text was updated successfully, but these errors were encountered:
strings
I finished encdec some time ago. I think I will keep contributing all of the bytea functions one by one, if no one is doing the same work.
Sorry, something went wrong.
No branches or pull requests
https://www.postgresql.org/docs/current/functions-string.html
https://www.postgresql.org/docs/current/functions-binarystring.html
Make sure to test special values: empty string, multi-byte Unicode.
proto ExprType 202..=211, 215, 216, 218, 220, 223..=232, 235..=244, 310..=399
Standard varchar
||
/concat
/concat_ws
bit_length
/char_length
/character_length
/octet_length
/length
POSITION(substring IN string) → integer
#8938 /strpos
overlay(string PLACING newsubstring FROM start [FOR count])
substring
/substr
/ Support string functionsleft
andright
#8934trim
/ltrim
/rtrim
/ Support string functionbtrim
#8935Standard bytea
||
bit_length
/octet_length
/length
position
overlay(string PLACING newsubstring FROM start [FOR count])
substring
/substr
trim
/btrim
/ltrim
/rtrim
Standard bit / varbit (type not supported yet)
||
(varbit)bit_length
/octet_length
/length
position
overlay(string PLACING newsubstring FROM start [FOR count])
substring
Others varchar
lower
/upper
/initcap
lpad
/rpad
repeat
reverse
replace
translate
split_part
starts_with
/^@
string_to_array
#9283ascii
/chr
to_hex
quote_ident
quote_literal
#16792quote_nullable
parse_ident
md5
Others bytea
bit_count
get_bit
/set_bit
/get_byte
/set_byte
encode
/decode
#8937Others bit / varbit (type not supported yet)
bit_count
get_bit
/set_bit
&
/|
/#
/~
/<<
/>>
Aggregate
bit_and
/bit_or
/bit_xor
LIKE
/SIMILAR
/ POSIX RegExphttps://www.postgresql.org/docs/current/functions-matching.html
~~
/!~~
LIKE
withESCAPE
[NOT] ILIKE
/~~*
/!~~*
#11496[NOT] SIMILAR TO
#8966substring(string similar pattern escape escape-character)
(substring(string from pattern for escape-character)
)~
/~*
/!~
/!~*
fix(expr): regex operator~
/!~
should return null when either input is null #5136regexp_like
regexp_count
#11735regexp_instr
regexp_substr
regexp_match
regexp_replace
#11723regexp_split_to_array
substring(string from pattern)
Formatting
format
#11247https://www.postgresql.org/docs/current/functions-formatting.html
to_char
for timestamp / timestamptz / intervalto_date(varchar, varchar)
-> date #11226to_timestamp(varchar, varchar)
-> timestamptz #11227to_char
for int / bigint / decimal / real / doubleto_number(varchar, varchar)
-> decimalEncoding related
varchar
pg_client_encoding
normalize
/is normalized
to_ascii
unistr
bytea
convert
/convert_from
/convert_to
Support convert_from(b: bytea, src_encoding: text) -> text #13306Aggregate Function
string_agg
Set Returning Function
string_to_table
regexp_matches
regexp_split_to_table
The text was updated successfully, but these errors were encountered: