diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-09-02 18:23:56 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-09-02 18:23:56 -0400 |
commit | 66f163068030b5c5fe792a0daee27822dac43791 (patch) | |
tree | 7b2e9fc7a63c0280fe955e924fb594edc48347f2 /src/backend/access/gist/gistxlog.c | |
parent | fd5e3b291415e6cf55408af1282585c945464c8f (diff) | |
download | postgresql-66f163068030b5c5fe792a0daee27822dac43791.tar.gz |
Add string_to_table() function.
This splits a string at occurrences of a delimiter. It is exactly like
string_to_array() except for producing a set of values instead of an
array of values. Thus, the relationship of these two functions is
the same as between regexp_split_to_table() and regexp_split_to_array().
Although the same results could be had from unnest(string_to_array()),
this is somewhat faster than that, and anyway it seems reasonable to
have it for symmetry with the regexp functions.
Pavel Stehule, reviewed by Peter Smith
Discussion: https://postgr.es/m/CAFj8pRD8HOpjq2TqeTBhSo_QkzjLOhXzGCpKJ4nCs7Y9SQkuPw@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions