Commit 3a7d4f8
authored
fix small perf regression (#3017)
Undo a small perf regression I accidentally introduced in
#3012.
I assume >99% of the time `PostgresOIDToQValueKind` does not return an
error. O(1) is cheap but not free, and given this function is in the hot
path for CDC, I'll be pedantic about it.1 parent 6a3ef03 commit 3a7d4f8
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments