Use cstring_to_text_with_len when length is known.
This avoids a potentially-expensive extra call to strlen().
David Rowley
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f1df4731eea6bc05e0769e9cc789e7304722efe4
Modified Files
--------------
contrib/pageinspect/fsmfuncs.c | 2 +-
src/backend/utils/adt/json.c | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.