Repository navigation
Commit bdd9a5f
Bind PostgreSQL numeric flows positionally and trust the CA certificate without a key
- The Int16 and Decimal wire flows sent `$1` SQL with a parameter named "p1".
Npgsql rewrites named parameters only for named placeholders, so it sent
Parse with no parameter types and the server correctly refused the `$1`
slot as Validation. The flows now pass one positional parameter with its
NpgsqlDbType, as an application does for `$1` SQL.
- The raw wire TLS check loaded the CA with X509Certificate2.CreateFromPemFile,
which also requires a private key in the same file; the CA file holds only
the certificate, so it now uses X509CertificateLoader.LoadCertificateFromFile.
Verification: integration tests build with -warnaserror; dotnet format verify;
governance PASS; locally both
Int16BindingRetainsNpgsqlSdkMcpExactPagesWidthOverflowRefusalRepairPolicyOriginalReceiptAndTwoColdCuts
and DecimalNumericBindingRetainsNpgsqlSdkMcpExactPagesRefusalRepairPolicyOriginalReceiptAndTwoColdCuts
pass after the earlier RuntimeSql, key set and ALPN fixes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 3db6e5f commit bdd9a5f
7 files changed
Lines changed: 13 additions & 13 deletions
File tree
- tests/KeyLoad.IntegrationTests/QueryExecution
- Assertions/WireProtocol/Values
- Lifecycle/WireProtocol/Values
- Scenarios/WireProtocol
- Cluster/PostgresRf
- Values
- PostgresDecimal
- PostgresInt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments