Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6ed8604

Browse files
david-rowleypull[bot]
authored andcommitted
Fix performance regression in pg_strtointNN_safe functions
Between6fcda9a and1b6f632, the pg_strtoint functions became quitea bit slower in v16, despite efforts in6b423ec to speed these up.Since the majority of cases for these functions will only containbase-10 digits, perhaps prefixed by a '-', it makes sense to have aspecial case for this and just fall back on the more complex versionwhich processes hex, octal, binary and underscores if the fast pathversion fails to parse the string.While we're here, update the header comments for these functions tomention that hex, octal and binary formats along with underscoreseparators are now supported.Author: Andres Freund, David RowleyReported-by: Masahiko SawadaReviewed-by: Dean Rasheed, John NaylorDiscussion:https://postgr.es/m/CAD21AoDvDmUQeJtZrau1ovnT_smN940%3DKp6mszNGK3bq9yRN6g%40mail.gmail.comBackpatch-through: 16, where6fcda9a and1b6f632 were added
1 parentf7f4ab0 commit6ed8604

File tree

1 file changed

+279
-27
lines changed

1 file changed

+279
-27
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp