- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitefdc7d7
committed
Add INT64_HEX_FORMAT and UINT64_HEX_FORMAT to c.h.
Like INT64_FORMAT and UINT64_FORMAT, these macros produce formatstrings for 64-bit integers. However, INT64_HEX_FORMAT andUINT64_HEX_FORMAT generate the output in hexadecimal instead ofdecimal. Besides introducing these macros, this commit makes useof them in several places. This was originally intended to be partof commit5d6187d, but I left it out because I felt there was anonzero chance that back-patching these new macros into c.h couldcause problems with third-party code. We tend to be less cautiouswith such changes in new major versions.Note that UINT64_HEX_FORMAT was originally added in commitee1b30f, but it was placed in test_radixtree.c, so it wasn'twidely available. This commit moves UINT64_HEX_FORMAT to c.h.Discussion:https://postgr.es/m/ZwQvtUbPKaaRQezd%40nathan1 parent8589876 commitefdc7d7
6 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2947 | 2947 | | |
2948 | 2948 | | |
2949 | 2949 | | |
2950 | | - | |
| 2950 | + | |
2951 | 2951 | | |
2952 | 2952 | | |
2953 | 2953 | | |
2954 | 2954 | | |
2955 | | - | |
| 2955 | + | |
2956 | 2956 | | |
2957 | 2957 | | |
2958 | 2958 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
0 commit comments
Comments
(0)