@tsonic/efcore-npgsql 0.1.2 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.EntityFrameworkCore/bindings.json +8946 -11216
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +604 -604
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +49 -180
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +16 -16
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +23 -15
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +34 -26
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +2 -2
- package/Npgsql/bindings.json +14579 -19539
- package/Npgsql/internal/index.d.ts +1182 -1062
- package/Npgsql.BackendMessages/bindings.json +33 -39
- package/Npgsql.BackendMessages/internal/index.d.ts +3 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +48 -67
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +7 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +272 -174
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +29 -14
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +48 -201
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +17 -17
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +42 -48
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +183 -218
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +25 -20
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +606 -705
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +82 -58
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.d.ts +1 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +504 -737
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +56 -58
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +468 -699
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +62 -62
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +579 -197
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +59 -19
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +240 -612
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +52 -52
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +788 -58
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +51 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +186 -173
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +23 -16
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +77 -72
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +6 -6
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.d.ts +5 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +160 -234
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +20 -20
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +831 -864
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +38 -38
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +94 -345
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +30 -30
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +2021 -2000
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +255 -167
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +2408 -631
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +178 -38
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.d.ts +6 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +58 -61
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +3 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +780 -544
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +79 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +83 -110
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +8 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +5272 -3851
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +594 -212
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.d.ts +5 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +30 -34
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +1 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +349 -188
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +39 -15
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.d.ts +5 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +57 -76
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +245 -193
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +24 -11
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.d.ts +3 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.d.ts +1 -1
- package/Npgsql.Internal/bindings.json +2550 -3274
- package/Npgsql.Internal/internal/index.d.ts +282 -248
- package/Npgsql.Internal.Postgres/bindings.json +289 -434
- package/Npgsql.Internal.Postgres/internal/index.d.ts +33 -33
- package/Npgsql.Internal.d.ts +1 -1
- package/Npgsql.NameTranslation/bindings.json +91 -116
- package/Npgsql.NameTranslation/internal/index.d.ts +5 -5
- package/Npgsql.PostgresTypes/bindings.json +289 -982
- package/Npgsql.PostgresTypes/internal/index.d.ts +28 -25
- package/Npgsql.Replication/bindings.json +486 -1078
- package/Npgsql.Replication/internal/index.d.ts +47 -46
- package/Npgsql.Replication.Internal/bindings.json +65 -69
- package/Npgsql.Replication.Internal/internal/index.d.ts +6 -5
- package/Npgsql.Replication.PgOutput/bindings.json +344 -536
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +31 -30
- package/Npgsql.Replication.PgOutput.Messages/bindings.json +1176 -2950
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +85 -82
- package/Npgsql.Replication.TestDecoding/bindings.json +131 -270
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +13 -13
- package/Npgsql.Schema/bindings.json +236 -376
- package/Npgsql.Schema/internal/index.d.ts +34 -28
- package/Npgsql.TypeMapping/bindings.json +109 -153
- package/Npgsql.TypeMapping/internal/index.d.ts +13 -13
- package/Npgsql.Util/bindings.json +13 -1
- package/Npgsql.d.ts +1 -1
- package/NpgsqlTypes/bindings.json +2306 -4296
- package/NpgsqlTypes/internal/index.d.ts +282 -280
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +71 -71
- package/package.json +5 -5
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -10154
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -172
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +0 -49
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -63
- package/Npgsql/internal/metadata.json +0 -15514
- package/Npgsql.BackendMessages/internal/metadata.json +0 -72
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/metadata.json +0 -60
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/metadata.json +0 -269
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/metadata.json +0 -184
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/metadata.json +0 -125
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/metadata.json +0 -342
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/metadata.json +0 -985
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/metadata.json +0 -1064
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/metadata.json +0 -990
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/metadata.json +0 -317
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/metadata.json +0 -664
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/metadata.json +0 -95
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/metadata.json +0 -262
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/metadata.json +0 -114
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/metadata.json +0 -351
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/metadata.json +0 -1349
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/metadata.json +0 -304
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/metadata.json +0 -2783
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/metadata.json +0 -806
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/metadata.json +0 -102
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/metadata.json +0 -807
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/metadata.json +0 -186
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/metadata.json +0 -4823
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/metadata.json +0 -51
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/metadata.json +0 -341
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/metadata.json +0 -118
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/metadata.json +0 -323
- package/Npgsql.Internal/internal/metadata.json +0 -4555
- package/Npgsql.Internal.Postgres/internal/metadata.json +0 -619
- package/Npgsql.NameTranslation/internal/metadata.json +0 -173
- package/Npgsql.PostgresTypes/internal/metadata.json +0 -480
- package/Npgsql.Replication/internal/metadata.json +0 -972
- package/Npgsql.Replication.Internal/internal/metadata.json +0 -119
- package/Npgsql.Replication.PgOutput/internal/metadata.json +0 -644
- package/Npgsql.Replication.PgOutput.Messages/internal/metadata.json +0 -1905
- package/Npgsql.Replication.TestDecoding/internal/metadata.json +0 -283
- package/Npgsql.Schema/internal/metadata.json +0 -451
- package/Npgsql.TypeMapping/internal/metadata.json +0 -248
- package/Npgsql.Util/internal/metadata.json +0 -24
- package/NpgsqlTypes/internal/metadata.json +0 -5014
|
@@ -18,7 +18,7 @@ import type { NpgsqlDbType } from "../../NpgsqlTypes/internal/index.js";
|
|
|
18
18
|
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
19
19
|
import type { ICollection as ICollection__System_Collections_Generic, IDictionary as IDictionary__System_Collections_Generic, IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator as IEnumerator__System_Collections_Generic, IList as IList__System_Collections_Generic, IReadOnlyDictionary, IReadOnlyList, KeyValuePair } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
20
20
|
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
21
|
-
import type { ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.js";
|
|
21
|
+
import type { Hashtable, ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.js";
|
|
22
22
|
import type { ReadOnlyCollection } from "@tsonic/dotnet/System.Collections.ObjectModel.js";
|
|
23
23
|
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
24
24
|
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
@@ -42,73 +42,73 @@ import type { Transaction } from "@tsonic/dotnet/System.Transactions.js";
|
|
|
42
42
|
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
43
43
|
|
|
44
44
|
export enum ArrayNullabilityMode {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
Never = 0,
|
|
46
|
+
Always = 1,
|
|
47
|
+
PerInstance = 2
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
export enum ChannelBinding {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
Disable = 0,
|
|
53
|
+
Prefer = 1,
|
|
54
|
+
Require = 2
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export enum GssEncryptionMode {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
Disable = 0,
|
|
60
|
+
Prefer = 1,
|
|
61
|
+
Require = 2
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
export enum ServerCompatibilityMode {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
None = 0,
|
|
67
|
+
Redshift = 1,
|
|
68
|
+
NoTypeLoading = 2
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
export enum SslMode {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
Disable = 0,
|
|
74
|
+
Allow = 1,
|
|
75
|
+
Prefer = 2,
|
|
76
|
+
Require = 3,
|
|
77
|
+
VerifyCA = 4,
|
|
78
|
+
VerifyFull = 5
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
export enum SslNegotiation {
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
Postgres = 0,
|
|
84
|
+
Direct = 1
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
export enum StatementType {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
89
|
+
Unknown = 0,
|
|
90
|
+
Select = 1,
|
|
91
|
+
Insert = 2,
|
|
92
|
+
Delete = 3,
|
|
93
|
+
Update = 4,
|
|
94
|
+
CreateTableAs = 5,
|
|
95
|
+
Move = 6,
|
|
96
|
+
Fetch = 7,
|
|
97
|
+
Copy = 8,
|
|
98
|
+
Other = 9,
|
|
99
|
+
Merge = 10,
|
|
100
|
+
Call = 11
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
export enum TargetSessionAttributes {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
Any = 0,
|
|
106
|
+
ReadWrite = 1,
|
|
107
|
+
ReadOnly = 2,
|
|
108
|
+
Primary = 3,
|
|
109
|
+
Standby = 4,
|
|
110
|
+
PreferPrimary = 5,
|
|
111
|
+
PreferStandby = 6
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
|
|
@@ -131,32 +131,42 @@ export type ProvidePasswordCallback = (host: string, port: int, database: string
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
export interface INpgsqlNameTranslator$instance {
|
|
134
|
-
|
|
134
|
+
TranslateTypeName(clrName: string): string;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
export type INpgsqlNameTranslator = INpgsqlNameTranslator$instance;
|
|
139
139
|
|
|
140
|
-
export
|
|
141
|
-
readonly
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
140
|
+
export abstract class NpgsqlBatch$protected {
|
|
141
|
+
protected readonly DbBatchCommands: DbBatchCommandCollection;
|
|
142
|
+
protected DbConnection: DbConnection;
|
|
143
|
+
protected DbTransaction: DbTransaction | undefined;
|
|
144
|
+
protected CreateDbBatchCommand(): DbBatchCommand;
|
|
145
|
+
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
146
|
+
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export interface NpgsqlBatch$instance extends NpgsqlBatch$protected, DbBatch {
|
|
151
|
+
readonly BatchCommands: NpgsqlBatchCommandCollection;
|
|
152
|
+
get Connection(): NpgsqlConnection | undefined;
|
|
153
|
+
set Connection(value: NpgsqlConnection);
|
|
154
|
+
EnableErrorBarriers: boolean;
|
|
155
|
+
Timeout: int;
|
|
156
|
+
get Transaction(): NpgsqlTransaction | undefined;
|
|
157
|
+
set Transaction(value: NpgsqlTransaction);
|
|
158
|
+
Cancel(): void;
|
|
159
|
+
CreateBatchCommand(): NpgsqlBatchCommand;
|
|
160
|
+
Dispose(): void;
|
|
161
|
+
ExecuteNonQuery(): int;
|
|
162
|
+
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
163
|
+
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
164
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
165
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
166
|
+
ExecuteScalar(): unknown | undefined;
|
|
167
|
+
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task<unknown | undefined>;
|
|
168
|
+
Prepare(): void;
|
|
169
|
+
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
160
170
|
}
|
|
161
171
|
|
|
162
172
|
|
|
@@ -167,18 +177,23 @@ export const NpgsqlBatch: {
|
|
|
167
177
|
|
|
168
178
|
export type NpgsqlBatch = NpgsqlBatch$instance;
|
|
169
179
|
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
readonly
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
export abstract class NpgsqlBatchCommand$protected {
|
|
181
|
+
protected readonly DbParameterCollection: DbParameterCollection;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
export interface NpgsqlBatchCommand$instance extends NpgsqlBatchCommand$protected, DbBatchCommand {
|
|
186
|
+
AppendErrorBarrier: Nullable<System_Internal.Boolean>;
|
|
187
|
+
readonly CanCreateParameter: boolean;
|
|
188
|
+
CommandText: string;
|
|
189
|
+
CommandType: CommandType;
|
|
190
|
+
OID: uint;
|
|
191
|
+
readonly Parameters: NpgsqlParameterCollection;
|
|
192
|
+
readonly RecordsAffected: int;
|
|
193
|
+
Rows: ulong;
|
|
194
|
+
StatementType: StatementType;
|
|
195
|
+
CreateParameter(): NpgsqlParameter;
|
|
196
|
+
ToString(): string;
|
|
182
197
|
}
|
|
183
198
|
|
|
184
199
|
|
|
@@ -190,25 +205,31 @@ export const NpgsqlBatchCommand: {
|
|
|
190
205
|
|
|
191
206
|
export type NpgsqlBatchCommand = NpgsqlBatchCommand$instance;
|
|
192
207
|
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
export abstract class NpgsqlBatchCommandCollection$protected {
|
|
209
|
+
protected GetBatchCommand(index: int): DbBatchCommand;
|
|
210
|
+
protected SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchCommandCollection$protected, DbBatchCommandCollection {
|
|
215
|
+
readonly Count: int;
|
|
216
|
+
readonly IsReadOnly: boolean;
|
|
217
|
+
Item: NpgsqlBatchCommand;
|
|
218
|
+
Add(item: NpgsqlBatchCommand): void;
|
|
219
|
+
Add(item: DbBatchCommand): void;
|
|
220
|
+
Clear(): void;
|
|
221
|
+
Contains(item: NpgsqlBatchCommand): boolean;
|
|
222
|
+
Contains(item: DbBatchCommand): boolean;
|
|
223
|
+
CopyTo(array: NpgsqlBatchCommand[], arrayIndex: int): void;
|
|
224
|
+
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
225
|
+
GetEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
226
|
+
IndexOf(item: NpgsqlBatchCommand): int;
|
|
227
|
+
IndexOf(item: DbBatchCommand): int;
|
|
228
|
+
Insert(index: int, item: NpgsqlBatchCommand): void;
|
|
229
|
+
Insert(index: int, item: DbBatchCommand): void;
|
|
230
|
+
Remove(item: NpgsqlBatchCommand): boolean;
|
|
231
|
+
Remove(item: DbBatchCommand): boolean;
|
|
232
|
+
RemoveAt(index: int): void;
|
|
212
233
|
}
|
|
213
234
|
|
|
214
235
|
|
|
@@ -220,20 +241,20 @@ export const NpgsqlBatchCommandCollection: {
|
|
|
220
241
|
export type NpgsqlBatchCommandCollection = NpgsqlBatchCommandCollection$instance;
|
|
221
242
|
|
|
222
243
|
export interface NpgsqlBinaryExporter$instance {
|
|
223
|
-
readonly
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
244
|
+
readonly IsNull: boolean;
|
|
245
|
+
Timeout: TimeSpan;
|
|
246
|
+
Cancel(): void;
|
|
247
|
+
CancelAsync(): Task;
|
|
248
|
+
Dispose(): void;
|
|
249
|
+
DisposeAsync(): ValueTask;
|
|
250
|
+
Read<T>(): T;
|
|
251
|
+
Read<T>(type: NpgsqlDbType): T;
|
|
252
|
+
ReadAsync<T>(cancellationToken?: CancellationToken): ValueTask<T>;
|
|
253
|
+
ReadAsync<T>(type: NpgsqlDbType, cancellationToken?: CancellationToken): ValueTask<T>;
|
|
254
|
+
Skip(): void;
|
|
255
|
+
SkipAsync(cancellationToken?: CancellationToken): Task;
|
|
256
|
+
StartRow(): int;
|
|
257
|
+
StartRowAsync(cancellationToken?: CancellationToken): ValueTask<System_Internal.Int32>;
|
|
237
258
|
}
|
|
238
259
|
|
|
239
260
|
|
|
@@ -245,25 +266,25 @@ export const NpgsqlBinaryExporter: {
|
|
|
245
266
|
export type NpgsqlBinaryExporter = NpgsqlBinaryExporter$instance;
|
|
246
267
|
|
|
247
268
|
export interface NpgsqlBinaryImporter$instance {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
269
|
+
Timeout: TimeSpan;
|
|
270
|
+
Close(): void;
|
|
271
|
+
CloseAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
272
|
+
Complete(): ulong;
|
|
273
|
+
CompleteAsync(cancellationToken?: CancellationToken): ValueTask<System_Internal.UInt64>;
|
|
274
|
+
Dispose(): void;
|
|
275
|
+
DisposeAsync(): ValueTask;
|
|
276
|
+
StartRow(): void;
|
|
277
|
+
StartRowAsync(cancellationToken?: CancellationToken): Task;
|
|
278
|
+
Write<T>(value: T): void;
|
|
279
|
+
Write<T>(value: T, npgsqlDbType: NpgsqlDbType): void;
|
|
280
|
+
Write<T>(value: T, dataTypeName: string): void;
|
|
281
|
+
WriteAsync<T>(value: T, cancellationToken?: CancellationToken): Task;
|
|
282
|
+
WriteAsync<T>(value: T, npgsqlDbType: NpgsqlDbType, cancellationToken?: CancellationToken): Task;
|
|
283
|
+
WriteAsync<T>(value: T, dataTypeName: string, cancellationToken?: CancellationToken): Task;
|
|
284
|
+
WriteNull(): void;
|
|
285
|
+
WriteNullAsync(cancellationToken?: CancellationToken): Task;
|
|
286
|
+
WriteRow(...values: unknown[]): void;
|
|
287
|
+
WriteRowAsync(cancellationToken?: CancellationToken, ...values: unknown[]): Task;
|
|
267
288
|
}
|
|
268
289
|
|
|
269
290
|
|
|
@@ -274,36 +295,47 @@ export const NpgsqlBinaryImporter: {
|
|
|
274
295
|
|
|
275
296
|
export type NpgsqlBinaryImporter = NpgsqlBinaryImporter$instance;
|
|
276
297
|
|
|
277
|
-
export
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
298
|
+
export abstract class NpgsqlCommand$protected {
|
|
299
|
+
protected DbConnection: DbConnection;
|
|
300
|
+
protected readonly DbParameterCollection: DbParameterCollection;
|
|
301
|
+
protected DbTransaction: DbTransaction | undefined;
|
|
302
|
+
protected CreateDbParameter(): DbParameter;
|
|
303
|
+
protected Dispose(disposing: boolean): void;
|
|
304
|
+
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
305
|
+
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
export interface NpgsqlCommand$instance extends NpgsqlCommand$protected, DbCommand {
|
|
310
|
+
AllResultTypesAreUnknown: boolean;
|
|
311
|
+
CommandText: string;
|
|
312
|
+
CommandTimeout: int;
|
|
313
|
+
CommandType: CommandType;
|
|
314
|
+
get Connection(): NpgsqlConnection | undefined;
|
|
315
|
+
set Connection(value: NpgsqlConnection);
|
|
316
|
+
DesignTimeVisible: boolean;
|
|
317
|
+
readonly IsPrepared: boolean;
|
|
318
|
+
readonly Parameters: NpgsqlParameterCollection;
|
|
319
|
+
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
320
|
+
get Transaction(): NpgsqlTransaction | undefined;
|
|
321
|
+
set Transaction(value: NpgsqlTransaction);
|
|
322
|
+
get UnknownResultTypeList(): boolean[] | undefined;
|
|
323
|
+
set UnknownResultTypeList(value: boolean[]);
|
|
324
|
+
UpdatedRowSource: UpdateRowSource;
|
|
325
|
+
Cancel(): void;
|
|
326
|
+
Clone(): NpgsqlCommand;
|
|
327
|
+
CreateParameter(): NpgsqlParameter;
|
|
328
|
+
ExecuteNonQuery(): int;
|
|
329
|
+
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
330
|
+
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
331
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
332
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
333
|
+
ExecuteScalar(): unknown | undefined;
|
|
334
|
+
ExecuteScalarAsync(cancellationToken: CancellationToken): Task<unknown | undefined>;
|
|
335
|
+
Prepare(): void;
|
|
336
|
+
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
337
|
+
Unprepare(): void;
|
|
338
|
+
UnprepareAsync(cancellationToken?: CancellationToken): Task;
|
|
307
339
|
}
|
|
308
340
|
|
|
309
341
|
|
|
@@ -317,201 +349,225 @@ export const NpgsqlCommand: {
|
|
|
317
349
|
|
|
318
350
|
export type NpgsqlCommand = NpgsqlCommand$instance;
|
|
319
351
|
|
|
320
|
-
export
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
352
|
+
export abstract class NpgsqlCommandBuilder$protected {
|
|
353
|
+
protected ApplyParameterInfo(p: DbParameter, row: DataRow, statementType: StatementType_Data, whereClause: boolean): void;
|
|
354
|
+
protected GetParameterName(parameterOrdinal: int): string;
|
|
355
|
+
protected GetParameterName(parameterName: string): string;
|
|
356
|
+
protected GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
357
|
+
protected SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
export interface NpgsqlCommandBuilder$instance extends NpgsqlCommandBuilder$protected, DbCommandBuilder {
|
|
362
|
+
QuotePrefix: string;
|
|
363
|
+
QuoteSuffix: string;
|
|
364
|
+
GetDeleteCommand(): NpgsqlCommand;
|
|
365
|
+
GetDeleteCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
366
|
+
GetInsertCommand(): NpgsqlCommand;
|
|
367
|
+
GetInsertCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
368
|
+
GetUpdateCommand(): NpgsqlCommand;
|
|
369
|
+
GetUpdateCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
370
|
+
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
371
|
+
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
331
372
|
}
|
|
332
373
|
|
|
333
374
|
|
|
334
375
|
export const NpgsqlCommandBuilder: {
|
|
335
376
|
new(): NpgsqlCommandBuilder;
|
|
336
377
|
new(adapter: NpgsqlDataAdapter): NpgsqlCommandBuilder;
|
|
337
|
-
|
|
378
|
+
DeriveParameters(command: NpgsqlCommand): void;
|
|
338
379
|
};
|
|
339
380
|
|
|
340
381
|
|
|
341
382
|
export type NpgsqlCommandBuilder = NpgsqlCommandBuilder$instance;
|
|
342
383
|
|
|
343
|
-
export
|
|
344
|
-
readonly
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
readonly
|
|
355
|
-
readonly
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
readonly
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
readonly
|
|
365
|
-
readonly
|
|
366
|
-
readonly
|
|
367
|
-
get
|
|
368
|
-
set
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
384
|
+
export abstract class NpgsqlConnection$protected {
|
|
385
|
+
protected readonly DbProviderFactory: DbProviderFactory;
|
|
386
|
+
protected BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
387
|
+
protected BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask<DbTransaction>;
|
|
388
|
+
protected CreateDbBatch(): DbBatch;
|
|
389
|
+
protected CreateDbCommand(): DbCommand;
|
|
390
|
+
protected Dispose(disposing: boolean): void;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
export interface NpgsqlConnection$instance extends NpgsqlConnection$protected, DbConnection {
|
|
395
|
+
readonly CanCreateBatch: boolean;
|
|
396
|
+
readonly CommandTimeout: int;
|
|
397
|
+
ConnectionString: string;
|
|
398
|
+
readonly ConnectionTimeout: int;
|
|
399
|
+
readonly Database: string;
|
|
400
|
+
readonly DataSource: string;
|
|
401
|
+
FullState: ConnectionState;
|
|
402
|
+
readonly HasIntegerDateTimes: boolean;
|
|
403
|
+
readonly Host: string | undefined;
|
|
404
|
+
readonly Port: int;
|
|
405
|
+
readonly PostgresParameters: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
406
|
+
readonly PostgreSqlVersion: Version;
|
|
407
|
+
readonly ProcessID: int;
|
|
408
|
+
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
409
|
+
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
410
|
+
get ProvidePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
411
|
+
set ProvidePasswordCallback(value: ProvidePasswordCallback);
|
|
412
|
+
readonly ServerVersion: string;
|
|
413
|
+
get SslClientAuthenticationOptionsCallback(): Action<SslClientAuthenticationOptions> | undefined;
|
|
414
|
+
set SslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions>);
|
|
415
|
+
readonly State: ConnectionState;
|
|
416
|
+
readonly Timezone: string;
|
|
417
|
+
readonly TypeMapper: INpgsqlTypeMapper;
|
|
418
|
+
get UserCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
419
|
+
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
420
|
+
readonly UserName: string | undefined;
|
|
421
|
+
BeginBinaryExport(copyToCommand: string): NpgsqlBinaryExporter;
|
|
422
|
+
BeginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryExporter>;
|
|
423
|
+
BeginBinaryImport(copyFromCommand: string): NpgsqlBinaryImporter;
|
|
424
|
+
BeginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryImporter>;
|
|
425
|
+
BeginRawBinaryCopy(copyCommand: string): NpgsqlRawCopyStream;
|
|
426
|
+
BeginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlRawCopyStream>;
|
|
427
|
+
BeginTextExport(copyToCommand: string): NpgsqlCopyTextReader;
|
|
428
|
+
BeginTextExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlCopyTextReader>;
|
|
429
|
+
BeginTextImport(copyFromCommand: string): NpgsqlCopyTextWriter;
|
|
430
|
+
BeginTextImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlCopyTextWriter>;
|
|
431
|
+
BeginTransaction(): NpgsqlTransaction;
|
|
432
|
+
BeginTransaction(level: IsolationLevel): NpgsqlTransaction;
|
|
433
|
+
BeginTransactionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlTransaction>;
|
|
434
|
+
BeginTransactionAsync(level: IsolationLevel, cancellationToken?: CancellationToken): ValueTask<NpgsqlTransaction>;
|
|
435
|
+
ChangeDatabase(dbName: string): void;
|
|
436
|
+
CloneWith(connectionString: string): NpgsqlConnection;
|
|
437
|
+
CloneWithAsync(connectionString: string, cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
438
|
+
Close(): void;
|
|
439
|
+
CloseAsync(): Task;
|
|
440
|
+
CreateBatch(): NpgsqlBatch;
|
|
441
|
+
CreateCommand(): NpgsqlCommand;
|
|
442
|
+
DisposeAsync(): ValueTask;
|
|
443
|
+
EnlistTransaction(transaction: Transaction): void;
|
|
444
|
+
GetSchema(): DataTable;
|
|
445
|
+
GetSchema(collectionName: string): DataTable;
|
|
446
|
+
GetSchema(collectionName: string, restrictions: string[]): DataTable;
|
|
447
|
+
GetSchemaAsync(cancellationToken?: CancellationToken): Task<DataTable>;
|
|
448
|
+
GetSchemaAsync(collectionName: string, cancellationToken?: CancellationToken): Task<DataTable>;
|
|
449
|
+
GetSchemaAsync(collectionName: string, restrictions: string[], cancellationToken?: CancellationToken): Task<DataTable>;
|
|
450
|
+
Open(): void;
|
|
451
|
+
OpenAsync(cancellationToken: CancellationToken): Task;
|
|
452
|
+
ReloadTypes(): void;
|
|
453
|
+
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
454
|
+
UnprepareAll(): void;
|
|
455
|
+
Wait(timeout: int): boolean;
|
|
456
|
+
Wait(timeout: TimeSpan): boolean;
|
|
457
|
+
Wait(): void;
|
|
458
|
+
WaitAsync(timeout: int, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
459
|
+
WaitAsync(timeout: TimeSpan, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
460
|
+
WaitAsync(cancellationToken?: CancellationToken): Task;
|
|
410
461
|
}
|
|
411
462
|
|
|
412
463
|
|
|
413
464
|
export const NpgsqlConnection: {
|
|
414
465
|
new(): NpgsqlConnection;
|
|
415
466
|
new(connectionString: string): NpgsqlConnection;
|
|
416
|
-
readonly
|
|
417
|
-
readonly
|
|
418
|
-
|
|
419
|
-
|
|
467
|
+
readonly DefaultPort: int;
|
|
468
|
+
readonly GlobalTypeMapper: INpgsqlTypeMapper;
|
|
469
|
+
ClearAllPools(): void;
|
|
470
|
+
ClearPool(connection: NpgsqlConnection): void;
|
|
420
471
|
};
|
|
421
472
|
|
|
422
473
|
|
|
423
474
|
export type NpgsqlConnection = NpgsqlConnection$instance;
|
|
424
475
|
|
|
425
|
-
export
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
get
|
|
445
|
-
set
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
get
|
|
483
|
-
set
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
476
|
+
export abstract class NpgsqlConnectionStringBuilder$protected {
|
|
477
|
+
protected GetProperties(propertyDescriptors: Hashtable): void;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
export interface NpgsqlConnectionStringBuilder$instance extends NpgsqlConnectionStringBuilder$protected, DbConnectionStringBuilder {
|
|
482
|
+
get ApplicationName(): string | undefined;
|
|
483
|
+
set ApplicationName(value: string);
|
|
484
|
+
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
485
|
+
AutoPrepareMinUsages: int;
|
|
486
|
+
CancellationTimeout: int;
|
|
487
|
+
ChannelBinding: ChannelBinding;
|
|
488
|
+
CheckCertificateRevocation: boolean;
|
|
489
|
+
get ClientEncoding(): string | undefined;
|
|
490
|
+
set ClientEncoding(value: string);
|
|
491
|
+
CommandTimeout: int;
|
|
492
|
+
ConnectionIdleLifetime: int;
|
|
493
|
+
ConnectionLifetime: int;
|
|
494
|
+
ConnectionPruningInterval: int;
|
|
495
|
+
get Database(): string | undefined;
|
|
496
|
+
set Database(value: string);
|
|
497
|
+
Encoding: string;
|
|
498
|
+
Enlist: boolean;
|
|
499
|
+
GssEncryptionMode: GssEncryptionMode;
|
|
500
|
+
get Host(): string | undefined;
|
|
501
|
+
set Host(value: string);
|
|
502
|
+
HostRecheckSeconds: int;
|
|
503
|
+
IncludeErrorDetail: boolean;
|
|
504
|
+
IncludeFailedBatchedCommand: boolean;
|
|
505
|
+
IncludeRealm: boolean;
|
|
506
|
+
InternalCommandTimeout: int;
|
|
507
|
+
Item: unknown;
|
|
508
|
+
KeepAlive: int;
|
|
509
|
+
KerberosServiceName: string;
|
|
510
|
+
readonly Keys: ICollection__System_Collections_Generic<System_Internal.String>;
|
|
511
|
+
LoadBalanceHosts: boolean;
|
|
512
|
+
LoadTableComposites: boolean;
|
|
513
|
+
LogParameters: boolean;
|
|
514
|
+
MaxAutoPrepare: int;
|
|
515
|
+
MaxPoolSize: int;
|
|
516
|
+
MinPoolSize: int;
|
|
517
|
+
Multiplexing: boolean;
|
|
518
|
+
NoResetOnClose: boolean;
|
|
519
|
+
get Options(): string | undefined;
|
|
520
|
+
set Options(value: string);
|
|
521
|
+
get Passfile(): string | undefined;
|
|
522
|
+
set Passfile(value: string);
|
|
523
|
+
get Password(): string | undefined;
|
|
524
|
+
set Password(value: string);
|
|
525
|
+
PersistSecurityInfo: boolean;
|
|
526
|
+
Pooling: boolean;
|
|
527
|
+
Port: int;
|
|
528
|
+
ReadBufferSize: int;
|
|
529
|
+
get RequireAuth(): string | undefined;
|
|
530
|
+
set RequireAuth(value: string);
|
|
531
|
+
get RootCertificate(): string | undefined;
|
|
532
|
+
set RootCertificate(value: string);
|
|
533
|
+
get SearchPath(): string | undefined;
|
|
534
|
+
set SearchPath(value: string);
|
|
535
|
+
ServerCompatibilityMode: ServerCompatibilityMode;
|
|
536
|
+
SocketReceiveBufferSize: int;
|
|
537
|
+
SocketSendBufferSize: int;
|
|
538
|
+
get SslCertificate(): string | undefined;
|
|
539
|
+
set SslCertificate(value: string);
|
|
540
|
+
get SslKey(): string | undefined;
|
|
541
|
+
set SslKey(value: string);
|
|
542
|
+
SslMode: SslMode;
|
|
543
|
+
SslNegotiation: SslNegotiation;
|
|
544
|
+
get SslPassword(): string | undefined;
|
|
545
|
+
set SslPassword(value: string);
|
|
546
|
+
get TargetSessionAttributes(): string | undefined;
|
|
547
|
+
set TargetSessionAttributes(value: string);
|
|
548
|
+
TcpKeepAlive: boolean;
|
|
549
|
+
TcpKeepAliveInterval: int;
|
|
550
|
+
TcpKeepAliveTime: int;
|
|
551
|
+
Timeout: int;
|
|
552
|
+
get Timezone(): string | undefined;
|
|
553
|
+
set Timezone(value: string);
|
|
554
|
+
TrustServerCertificate: boolean;
|
|
555
|
+
get Username(): string | undefined;
|
|
556
|
+
set Username(value: string);
|
|
557
|
+
readonly Values: ICollection__System_Collections_Generic<unknown | undefined>;
|
|
558
|
+
WriteBufferSize: int;
|
|
559
|
+
WriteCoalescingBufferThresholdBytes: int;
|
|
560
|
+
Add(item: KeyValuePair<System_Internal.String, unknown>): void;
|
|
561
|
+
Clear(): void;
|
|
562
|
+
Contains(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
563
|
+
ContainsKey(keyword: string): boolean;
|
|
564
|
+
CopyTo(array: KeyValuePair<System_Internal.String, unknown>[], arrayIndex: int): void;
|
|
565
|
+
Equals(obj: unknown): boolean;
|
|
566
|
+
GetEnumerator(): IEnumerator__System_Collections_Generic<KeyValuePair<System_Internal.String, unknown>>;
|
|
567
|
+
GetHashCode(): int;
|
|
568
|
+
Remove(keyword: string): boolean;
|
|
569
|
+
Remove(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
570
|
+
TryGetValue(keyword: string, value: unknown): boolean;
|
|
515
571
|
}
|
|
516
572
|
|
|
517
573
|
|
|
@@ -525,10 +581,10 @@ export const NpgsqlConnectionStringBuilder: {
|
|
|
525
581
|
export type NpgsqlConnectionStringBuilder = NpgsqlConnectionStringBuilder$instance;
|
|
526
582
|
|
|
527
583
|
export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
584
|
+
Timeout: int;
|
|
585
|
+
Cancel(): void;
|
|
586
|
+
CancelAsync(): Task;
|
|
587
|
+
DisposeAsync(): ValueTask;
|
|
532
588
|
}
|
|
533
589
|
|
|
534
590
|
|
|
@@ -540,9 +596,9 @@ export const NpgsqlCopyTextReader: {
|
|
|
540
596
|
export type NpgsqlCopyTextReader = NpgsqlCopyTextReader$instance;
|
|
541
597
|
|
|
542
598
|
export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
599
|
+
Timeout: int;
|
|
600
|
+
Cancel(): void;
|
|
601
|
+
CancelAsync(): Task;
|
|
546
602
|
}
|
|
547
603
|
|
|
548
604
|
|
|
@@ -553,15 +609,23 @@ export const NpgsqlCopyTextWriter: {
|
|
|
553
609
|
|
|
554
610
|
export type NpgsqlCopyTextWriter = NpgsqlCopyTextWriter$instance;
|
|
555
611
|
|
|
556
|
-
export
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
612
|
+
export abstract class NpgsqlDataAdapter$protected {
|
|
613
|
+
protected CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
614
|
+
protected CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
615
|
+
protected OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
616
|
+
protected OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
export interface NpgsqlDataAdapter$instance extends NpgsqlDataAdapter$protected, DbDataAdapter {
|
|
621
|
+
get DeleteCommand(): NpgsqlCommand | undefined;
|
|
622
|
+
set DeleteCommand(value: NpgsqlCommand);
|
|
623
|
+
get InsertCommand(): NpgsqlCommand | undefined;
|
|
624
|
+
set InsertCommand(value: NpgsqlCommand);
|
|
625
|
+
get SelectCommand(): NpgsqlCommand | undefined;
|
|
626
|
+
set SelectCommand(value: NpgsqlCommand);
|
|
627
|
+
get UpdateCommand(): NpgsqlCommand | undefined;
|
|
628
|
+
set UpdateCommand(value: NpgsqlCommand);
|
|
565
629
|
}
|
|
566
630
|
|
|
567
631
|
|
|
@@ -575,61 +639,67 @@ export const NpgsqlDataAdapter: {
|
|
|
575
639
|
|
|
576
640
|
export type NpgsqlDataAdapter = NpgsqlDataAdapter$instance;
|
|
577
641
|
|
|
578
|
-
export
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
642
|
+
export abstract class NpgsqlDataReader$protected {
|
|
643
|
+
protected Dispose(disposing: boolean): void;
|
|
644
|
+
protected GetDbDataReader(ordinal: int): DbDataReader;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, DbDataReader {
|
|
649
|
+
readonly Depth: int;
|
|
650
|
+
readonly FieldCount: int;
|
|
651
|
+
readonly HasRows: boolean;
|
|
652
|
+
readonly IsClosed: boolean;
|
|
653
|
+
readonly IsOnRow: boolean;
|
|
654
|
+
readonly RecordsAffected: int;
|
|
655
|
+
readonly Rows: ulong;
|
|
656
|
+
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
657
|
+
Close(): void;
|
|
658
|
+
CloseAsync(): Task;
|
|
659
|
+
DisposeAsync(): ValueTask;
|
|
590
660
|
get_Item(ordinal: int): unknown;
|
|
591
661
|
get_Item(name: string): unknown;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
662
|
+
GetBoolean(ordinal: int): boolean;
|
|
663
|
+
GetByte(ordinal: int): byte;
|
|
664
|
+
GetBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
665
|
+
GetChar(ordinal: int): char;
|
|
666
|
+
GetChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
667
|
+
GetColumnSchema(): ReadOnlyCollection<NpgsqlDbColumn>;
|
|
668
|
+
GetColumnSchemaAsync(cancellationToken?: CancellationToken): Task<ReadOnlyCollection<DbColumn>>;
|
|
669
|
+
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
670
|
+
GetDataTypeName(ordinal: int): string;
|
|
671
|
+
GetDataTypeOID(ordinal: int): uint;
|
|
672
|
+
GetDateTime(ordinal: int): DateTime;
|
|
673
|
+
GetDecimal(ordinal: int): decimal;
|
|
674
|
+
GetDouble(ordinal: int): double;
|
|
675
|
+
GetEnumerator(): IEnumerator;
|
|
676
|
+
GetFieldType(ordinal: int): Type;
|
|
677
|
+
GetFieldValue<T>(ordinal: int): T;
|
|
678
|
+
GetFieldValueAsync<T>(ordinal: int, cancellationToken: CancellationToken): Task<T>;
|
|
679
|
+
GetFloat(ordinal: int): float;
|
|
680
|
+
GetGuid(ordinal: int): Guid;
|
|
681
|
+
GetInt16(ordinal: int): short;
|
|
682
|
+
GetInt32(ordinal: int): int;
|
|
683
|
+
GetInt64(ordinal: int): long;
|
|
684
|
+
GetName(ordinal: int): string;
|
|
685
|
+
GetOrdinal(name: string): int;
|
|
686
|
+
GetPostgresType(ordinal: int): PostgresType;
|
|
687
|
+
GetSchemaTable(): DataTable | undefined;
|
|
688
|
+
GetSchemaTableAsync(cancellationToken?: CancellationToken): Task<DataTable | undefined>;
|
|
689
|
+
GetStream(ordinal: int): Stream;
|
|
690
|
+
GetStreamAsync(ordinal: int, cancellationToken?: CancellationToken): Task<Stream>;
|
|
691
|
+
GetString(ordinal: int): string;
|
|
692
|
+
GetTextReader(ordinal: int): TextReader;
|
|
693
|
+
GetTextReaderAsync(ordinal: int, cancellationToken?: CancellationToken): Task<TextReader>;
|
|
694
|
+
GetTimeSpan(ordinal: int): TimeSpan;
|
|
695
|
+
GetValue(ordinal: int): unknown;
|
|
696
|
+
GetValues(values: unknown[]): int;
|
|
697
|
+
IsDBNull(ordinal: int): boolean;
|
|
698
|
+
IsDBNullAsync(ordinal: int, cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
699
|
+
NextResult(): boolean;
|
|
700
|
+
NextResultAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
701
|
+
Read(): boolean;
|
|
702
|
+
ReadAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
633
703
|
}
|
|
634
704
|
|
|
635
705
|
|
|
@@ -640,65 +710,78 @@ export const NpgsqlDataReader: {
|
|
|
640
710
|
|
|
641
711
|
export type NpgsqlDataReader = NpgsqlDataReader$instance;
|
|
642
712
|
|
|
643
|
-
export
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
713
|
+
export abstract class NpgsqlDataSource$protected {
|
|
714
|
+
protected CreateDbBatch(): DbBatch;
|
|
715
|
+
protected CreateDbCommand(commandText?: string): DbCommand;
|
|
716
|
+
protected CreateDbConnection(): DbConnection;
|
|
717
|
+
protected Dispose(disposing: boolean): void;
|
|
718
|
+
protected DisposeAsyncBase(): ValueTask;
|
|
719
|
+
protected DisposeAsyncCore(): ValueTask;
|
|
720
|
+
protected DisposeBase(): void;
|
|
721
|
+
protected OpenDbConnection(): DbConnection;
|
|
722
|
+
protected OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask<DbConnection>;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
export interface NpgsqlDataSource$instance extends NpgsqlDataSource$protected, DbDataSource {
|
|
727
|
+
readonly ConnectionString: string;
|
|
728
|
+
Password: string;
|
|
729
|
+
Clear(): void;
|
|
730
|
+
CreateBatch(): NpgsqlBatch;
|
|
731
|
+
CreateCommand(commandText?: string): NpgsqlCommand;
|
|
732
|
+
CreateConnection(): NpgsqlConnection;
|
|
733
|
+
OpenConnection(): NpgsqlConnection;
|
|
734
|
+
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
735
|
+
ReloadTypes(): void;
|
|
736
|
+
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
654
737
|
}
|
|
655
738
|
|
|
656
739
|
|
|
657
740
|
export const NpgsqlDataSource: {
|
|
658
|
-
|
|
659
|
-
|
|
741
|
+
Create(connectionStringBuilder: NpgsqlConnectionStringBuilder): NpgsqlDataSource;
|
|
742
|
+
Create(connectionString: string): NpgsqlDataSource;
|
|
660
743
|
};
|
|
661
744
|
|
|
662
745
|
|
|
663
746
|
export type NpgsqlDataSource = NpgsqlDataSource$instance;
|
|
664
747
|
|
|
665
748
|
export interface NpgsqlDataSourceBuilder$instance {
|
|
666
|
-
readonly
|
|
667
|
-
readonly
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
749
|
+
readonly ConnectionString: string;
|
|
750
|
+
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
751
|
+
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
752
|
+
Name: string;
|
|
753
|
+
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
754
|
+
Build(): NpgsqlDataSource;
|
|
755
|
+
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
756
|
+
ConfigureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlDataSourceBuilder;
|
|
757
|
+
ConfigureTracing(configureAction: Action<NpgsqlTracingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
758
|
+
ConfigureTypeLoading(configureAction: Action<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
759
|
+
EnableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlDataSourceBuilder;
|
|
760
|
+
EnableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlDataSourceBuilder;
|
|
761
|
+
EnableRecordsAsTuples(): NpgsqlDataSourceBuilder;
|
|
762
|
+
EnableUnmappedTypes(): NpgsqlDataSourceBuilder;
|
|
763
|
+
MapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
764
|
+
MapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
765
|
+
MapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
766
|
+
MapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
767
|
+
UnmapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
768
|
+
UnmapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
769
|
+
UnmapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
770
|
+
UnmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
771
|
+
UseClientCertificate(clientCertificate: X509Certificate): NpgsqlDataSourceBuilder;
|
|
772
|
+
UseClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlDataSourceBuilder;
|
|
773
|
+
UseClientCertificatesCallback(clientCertificatesCallback: Action<X509CertificateCollection>): NpgsqlDataSourceBuilder;
|
|
774
|
+
UseLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlDataSourceBuilder;
|
|
775
|
+
UseNegotiateOptionsCallback(negotiateOptionsCallback: Action<NegotiateAuthenticationClientOptions>): NpgsqlDataSourceBuilder;
|
|
776
|
+
UsePasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>): NpgsqlDataSourceBuilder;
|
|
777
|
+
UsePeriodicPasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlDataSourceBuilder;
|
|
778
|
+
UsePhysicalConnectionInitializer(connectionInitializer: Action<NpgsqlConnection>, connectionInitializerAsync: Func<NpgsqlConnection, Task>): NpgsqlDataSourceBuilder;
|
|
779
|
+
UseRootCertificate(rootCertificate: X509Certificate2): NpgsqlDataSourceBuilder;
|
|
780
|
+
UseRootCertificateCallback(rootCertificateCallback: Func<X509Certificate2>): NpgsqlDataSourceBuilder;
|
|
781
|
+
UseRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlDataSourceBuilder;
|
|
782
|
+
UseRootCertificatesCallback(rootCertificateCallback: Func<X509Certificate2Collection>): NpgsqlDataSourceBuilder;
|
|
783
|
+
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action<SslClientAuthenticationOptions>): NpgsqlDataSourceBuilder;
|
|
784
|
+
UseUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlDataSourceBuilder;
|
|
702
785
|
}
|
|
703
786
|
|
|
704
787
|
|
|
@@ -714,10 +797,15 @@ export interface __NpgsqlDataSourceBuilder$views {
|
|
|
714
797
|
export type NpgsqlDataSourceBuilder = NpgsqlDataSourceBuilder$instance & __NpgsqlDataSourceBuilder$views;
|
|
715
798
|
|
|
716
799
|
|
|
717
|
-
export
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
800
|
+
export abstract class NpgsqlException$protected {
|
|
801
|
+
protected readonly DbBatchCommand: DbBatchCommand | undefined;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
export interface NpgsqlException$instance extends NpgsqlException$protected, DbException {
|
|
806
|
+
get BatchCommand(): NpgsqlBatchCommand | undefined;
|
|
807
|
+
set BatchCommand(value: NpgsqlBatchCommand);
|
|
808
|
+
readonly IsTransient: boolean;
|
|
721
809
|
}
|
|
722
810
|
|
|
723
811
|
|
|
@@ -725,51 +813,52 @@ export const NpgsqlException: {
|
|
|
725
813
|
new(): NpgsqlException;
|
|
726
814
|
new(message: string, innerException: Exception): NpgsqlException;
|
|
727
815
|
new(message: string): NpgsqlException;
|
|
816
|
+
new(info: SerializationInfo, context: StreamingContext): NpgsqlException;
|
|
728
817
|
};
|
|
729
818
|
|
|
730
819
|
|
|
731
820
|
export type NpgsqlException = NpgsqlException$instance;
|
|
732
821
|
|
|
733
822
|
export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
734
|
-
readonly
|
|
735
|
-
readonly
|
|
736
|
-
readonly
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
823
|
+
readonly CanCreateBatch: boolean;
|
|
824
|
+
readonly CanCreateCommandBuilder: boolean;
|
|
825
|
+
readonly CanCreateDataAdapter: boolean;
|
|
826
|
+
CreateBatch(): DbBatch;
|
|
827
|
+
CreateBatchCommand(): DbBatchCommand;
|
|
828
|
+
CreateCommand(): DbCommand;
|
|
829
|
+
CreateCommandBuilder(): DbCommandBuilder;
|
|
830
|
+
CreateConnection(): DbConnection;
|
|
831
|
+
CreateConnectionStringBuilder(): DbConnectionStringBuilder;
|
|
832
|
+
CreateDataAdapter(): DbDataAdapter;
|
|
833
|
+
CreateDataSource(connectionString: string): DbDataSource;
|
|
834
|
+
CreateParameter(): DbParameter;
|
|
835
|
+
GetService(serviceType: Type): unknown | undefined;
|
|
747
836
|
}
|
|
748
837
|
|
|
749
838
|
|
|
750
839
|
export const NpgsqlFactory: {
|
|
751
840
|
new(): NpgsqlFactory;
|
|
752
|
-
readonly
|
|
841
|
+
readonly Instance: NpgsqlFactory;
|
|
753
842
|
};
|
|
754
843
|
|
|
755
844
|
|
|
756
845
|
export type NpgsqlFactory = NpgsqlFactory$instance;
|
|
757
846
|
|
|
758
847
|
export interface NpgsqlLargeObjectManager$instance {
|
|
759
|
-
readonly
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
848
|
+
readonly Has64BitSupport: boolean;
|
|
849
|
+
MaxTransferBlockSize: int;
|
|
850
|
+
Create(preferredOid?: uint): uint;
|
|
851
|
+
CreateAsync(preferredOid: uint, cancellationToken?: CancellationToken): Task<System_Internal.UInt32>;
|
|
852
|
+
ExportRemote(oid: uint, path: string): void;
|
|
853
|
+
ExportRemoteAsync(oid: uint, path: string, cancellationToken?: CancellationToken): Task;
|
|
854
|
+
ImportRemote(path: string, oid?: uint): void;
|
|
855
|
+
ImportRemoteAsync(path: string, oid: uint, cancellationToken?: CancellationToken): Task;
|
|
856
|
+
OpenRead(oid: uint): NpgsqlLargeObjectStream;
|
|
857
|
+
OpenReadAsync(oid: uint, cancellationToken?: CancellationToken): Task<NpgsqlLargeObjectStream>;
|
|
858
|
+
OpenReadWrite(oid: uint): NpgsqlLargeObjectStream;
|
|
859
|
+
OpenReadWriteAsync(oid: uint, cancellationToken?: CancellationToken): Task<NpgsqlLargeObjectStream>;
|
|
860
|
+
Unlink(oid: uint): void;
|
|
861
|
+
UnlinkAsync(oid: uint, cancellationToken?: CancellationToken): Task;
|
|
773
862
|
}
|
|
774
863
|
|
|
775
864
|
|
|
@@ -780,25 +869,30 @@ export const NpgsqlLargeObjectManager: {
|
|
|
780
869
|
|
|
781
870
|
export type NpgsqlLargeObjectManager = NpgsqlLargeObjectManager$instance;
|
|
782
871
|
|
|
783
|
-
export
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
readonly
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
872
|
+
export abstract class NpgsqlLargeObjectStream$protected {
|
|
873
|
+
protected Dispose(disposing: boolean): void;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStream$protected, Stream {
|
|
878
|
+
readonly CanRead: boolean;
|
|
879
|
+
readonly CanSeek: boolean;
|
|
880
|
+
readonly CanTimeout: boolean;
|
|
881
|
+
readonly CanWrite: boolean;
|
|
882
|
+
readonly Has64BitSupport: boolean;
|
|
883
|
+
readonly Length: long;
|
|
884
|
+
Position: long;
|
|
885
|
+
Close(): void;
|
|
886
|
+
Flush(): void;
|
|
887
|
+
GetLengthAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
888
|
+
Read(buffer: byte[], offset: int, count: int): int;
|
|
889
|
+
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
890
|
+
Seek(offset: long, origin: SeekOrigin): long;
|
|
891
|
+
SeekAsync(offset: long, origin: SeekOrigin, cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
892
|
+
SetLength(value: long): void;
|
|
893
|
+
SetLength(value: long, cancellationToken: CancellationToken): Task;
|
|
894
|
+
Write(buffer: byte[], offset: int, count: int): void;
|
|
895
|
+
WriteAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
802
896
|
}
|
|
803
897
|
|
|
804
898
|
|
|
@@ -815,7 +909,7 @@ export interface NpgsqlLoggingConfiguration$instance {
|
|
|
815
909
|
|
|
816
910
|
export const NpgsqlLoggingConfiguration: {
|
|
817
911
|
new(): NpgsqlLoggingConfiguration;
|
|
818
|
-
|
|
912
|
+
InitializeLogging(loggerFactory: ILoggerFactory, parameterLoggingEnabled?: boolean): void;
|
|
819
913
|
};
|
|
820
914
|
|
|
821
915
|
|
|
@@ -833,15 +927,15 @@ export const NpgsqlMetricsOptions: {
|
|
|
833
927
|
export type NpgsqlMetricsOptions = NpgsqlMetricsOptions$instance;
|
|
834
928
|
|
|
835
929
|
export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
930
|
+
Clear(): void;
|
|
931
|
+
ClearDatabaseStates(): void;
|
|
932
|
+
CreateConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
933
|
+
CreateConnection(): NpgsqlConnection;
|
|
934
|
+
OpenConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
935
|
+
OpenConnection(): NpgsqlConnection;
|
|
936
|
+
OpenConnectionAsync(targetSessionAttributes: TargetSessionAttributes, cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
937
|
+
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
938
|
+
WithTargetSession(targetSessionAttributes: TargetSessionAttributes): NpgsqlDataSource;
|
|
845
939
|
}
|
|
846
940
|
|
|
847
941
|
|
|
@@ -852,41 +946,47 @@ export const NpgsqlMultiHostDataSource: {
|
|
|
852
946
|
|
|
853
947
|
export type NpgsqlMultiHostDataSource = NpgsqlMultiHostDataSource$instance;
|
|
854
948
|
|
|
855
|
-
export
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
949
|
+
export abstract class NpgsqlNestedDataReader$protected {
|
|
950
|
+
protected Dispose(disposing: boolean): void;
|
|
951
|
+
protected GetDbDataReader(ordinal: int): DbDataReader;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$protected, DbDataReader {
|
|
956
|
+
readonly Depth: int;
|
|
957
|
+
readonly FieldCount: int;
|
|
958
|
+
readonly HasRows: boolean;
|
|
959
|
+
readonly IsClosed: boolean;
|
|
960
|
+
readonly RecordsAffected: int;
|
|
961
|
+
Close(): void;
|
|
862
962
|
get_Item(ordinal: int): unknown;
|
|
863
963
|
get_Item(name: string): unknown;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
964
|
+
GetBoolean(ordinal: int): boolean;
|
|
965
|
+
GetByte(ordinal: int): byte;
|
|
966
|
+
GetBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
967
|
+
GetChar(ordinal: int): char;
|
|
968
|
+
GetChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
969
|
+
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
970
|
+
GetDataTypeName(ordinal: int): string;
|
|
971
|
+
GetDateTime(ordinal: int): DateTime;
|
|
972
|
+
GetDecimal(ordinal: int): decimal;
|
|
973
|
+
GetDouble(ordinal: int): double;
|
|
974
|
+
GetEnumerator(): IEnumerator;
|
|
975
|
+
GetFieldType(ordinal: int): Type;
|
|
976
|
+
GetFieldValue<T>(ordinal: int): T;
|
|
977
|
+
GetFloat(ordinal: int): float;
|
|
978
|
+
GetGuid(ordinal: int): Guid;
|
|
979
|
+
GetInt16(ordinal: int): short;
|
|
980
|
+
GetInt32(ordinal: int): int;
|
|
981
|
+
GetInt64(ordinal: int): long;
|
|
982
|
+
GetName(ordinal: int): string;
|
|
983
|
+
GetOrdinal(name: string): int;
|
|
984
|
+
GetString(ordinal: int): string;
|
|
985
|
+
GetValue(ordinal: int): unknown;
|
|
986
|
+
GetValues(values: unknown[]): int;
|
|
987
|
+
IsDBNull(ordinal: int): boolean;
|
|
988
|
+
NextResult(): boolean;
|
|
989
|
+
Read(): boolean;
|
|
890
990
|
}
|
|
891
991
|
|
|
892
992
|
|
|
@@ -898,7 +998,7 @@ export const NpgsqlNestedDataReader: {
|
|
|
898
998
|
export type NpgsqlNestedDataReader = NpgsqlNestedDataReader$instance;
|
|
899
999
|
|
|
900
1000
|
export interface NpgsqlNoticeEventArgs$instance extends EventArgs {
|
|
901
|
-
readonly
|
|
1001
|
+
readonly Notice: PostgresNotice;
|
|
902
1002
|
}
|
|
903
1003
|
|
|
904
1004
|
|
|
@@ -910,8 +1010,8 @@ export const NpgsqlNoticeEventArgs: {
|
|
|
910
1010
|
export type NpgsqlNoticeEventArgs = NpgsqlNoticeEventArgs$instance;
|
|
911
1011
|
|
|
912
1012
|
export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
1013
|
+
readonly Channel: string;
|
|
1014
|
+
readonly Payload: string;
|
|
915
1015
|
readonly PID: int;
|
|
916
1016
|
}
|
|
917
1017
|
|
|
@@ -924,7 +1024,7 @@ export const NpgsqlNotificationEventArgs: {
|
|
|
924
1024
|
export type NpgsqlNotificationEventArgs = NpgsqlNotificationEventArgs$instance;
|
|
925
1025
|
|
|
926
1026
|
export interface NpgsqlOperationInProgressException$instance extends NpgsqlException {
|
|
927
|
-
readonly
|
|
1027
|
+
readonly CommandInProgress: NpgsqlCommand | undefined;
|
|
928
1028
|
}
|
|
929
1029
|
|
|
930
1030
|
|
|
@@ -936,28 +1036,29 @@ export const NpgsqlOperationInProgressException: {
|
|
|
936
1036
|
export type NpgsqlOperationInProgressException = NpgsqlOperationInProgressException$instance;
|
|
937
1037
|
|
|
938
1038
|
export interface NpgsqlParameter$instance extends DbParameter {
|
|
939
|
-
get
|
|
940
|
-
set
|
|
941
|
-
get
|
|
942
|
-
set
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
get
|
|
948
|
-
set
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
1039
|
+
get Collection(): NpgsqlParameterCollection | undefined;
|
|
1040
|
+
set Collection(value: NpgsqlParameterCollection);
|
|
1041
|
+
get DataTypeName(): string | undefined;
|
|
1042
|
+
set DataTypeName(value: string);
|
|
1043
|
+
DbType: DbType;
|
|
1044
|
+
Direction: ParameterDirection;
|
|
1045
|
+
IsNullable: boolean;
|
|
1046
|
+
NpgsqlDbType: NpgsqlDbType;
|
|
1047
|
+
get NpgsqlValue(): unknown | undefined;
|
|
1048
|
+
set NpgsqlValue(value: unknown);
|
|
1049
|
+
ParameterName: string;
|
|
1050
|
+
get PostgresType(): PostgresType | undefined;
|
|
1051
|
+
set PostgresType(value: PostgresType);
|
|
1052
|
+
Precision: byte;
|
|
1053
|
+
Scale: byte;
|
|
1054
|
+
Size: int;
|
|
1055
|
+
SourceColumn: string;
|
|
1056
|
+
SourceColumnNullMapping: boolean;
|
|
1057
|
+
SourceVersion: DataRowVersion;
|
|
1058
|
+
get Value(): unknown | undefined;
|
|
1059
|
+
set Value(value: unknown);
|
|
1060
|
+
Clone(): NpgsqlParameter;
|
|
1061
|
+
ResetDbType(): void;
|
|
961
1062
|
}
|
|
962
1063
|
|
|
963
1064
|
|
|
@@ -978,9 +1079,9 @@ export const NpgsqlParameter: {
|
|
|
978
1079
|
export type NpgsqlParameter = NpgsqlParameter$instance;
|
|
979
1080
|
|
|
980
1081
|
export interface NpgsqlParameter_1$instance<T> extends NpgsqlParameter {
|
|
981
|
-
|
|
982
|
-
get
|
|
983
|
-
set
|
|
1082
|
+
TypedValue: T | undefined;
|
|
1083
|
+
get Value(): unknown | undefined;
|
|
1084
|
+
set Value(value: unknown);
|
|
984
1085
|
}
|
|
985
1086
|
|
|
986
1087
|
|
|
@@ -994,47 +1095,55 @@ export const NpgsqlParameter_1: {
|
|
|
994
1095
|
|
|
995
1096
|
export type NpgsqlParameter_1<T> = NpgsqlParameter_1$instance<T>;
|
|
996
1097
|
|
|
997
|
-
export
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1098
|
+
export abstract class NpgsqlParameterCollection$protected {
|
|
1099
|
+
protected GetParameter(parameterName: string): DbParameter;
|
|
1100
|
+
protected GetParameter(index: int): DbParameter;
|
|
1101
|
+
protected SetParameter(parameterName: string, value: DbParameter): void;
|
|
1102
|
+
protected SetParameter(index: int, value: DbParameter): void;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
export interface NpgsqlParameterCollection$instance extends NpgsqlParameterCollection$protected, DbParameterCollection {
|
|
1107
|
+
readonly Count: int;
|
|
1108
|
+
readonly IsFixedSize: boolean;
|
|
1109
|
+
readonly IsReadOnly: boolean;
|
|
1110
|
+
readonly IsSynchronized: boolean;
|
|
1111
|
+
readonly SyncRoot: unknown;
|
|
1112
|
+
Add(value: NpgsqlParameter): NpgsqlParameter;
|
|
1113
|
+
Add(parameterName: string, parameterType: NpgsqlDbType): NpgsqlParameter;
|
|
1114
|
+
Add(parameterName: string, parameterType: NpgsqlDbType, size: int): NpgsqlParameter;
|
|
1115
|
+
Add(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string): NpgsqlParameter;
|
|
1116
|
+
Add(value: unknown): int;
|
|
1117
|
+
AddRange(values: ClrArray): void;
|
|
1118
|
+
AddWithValue(parameterName: string, value: unknown): NpgsqlParameter;
|
|
1119
|
+
AddWithValue(parameterName: string, parameterType: NpgsqlDbType, value: unknown): NpgsqlParameter;
|
|
1120
|
+
AddWithValue(parameterName: string, parameterType: NpgsqlDbType, size: int, value: unknown): NpgsqlParameter;
|
|
1121
|
+
AddWithValue(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string, value: unknown): NpgsqlParameter;
|
|
1122
|
+
AddWithValue(value: unknown): NpgsqlParameter;
|
|
1123
|
+
AddWithValue(parameterType: NpgsqlDbType, value: unknown): NpgsqlParameter;
|
|
1124
|
+
Clear(): void;
|
|
1125
|
+
Contains(parameterName: string): boolean;
|
|
1126
|
+
Contains(value: unknown): boolean;
|
|
1127
|
+
Contains(item: NpgsqlParameter): boolean;
|
|
1128
|
+
CopyTo(array: ClrArray, index: int): void;
|
|
1129
|
+
CopyTo(array: NpgsqlParameter[], arrayIndex: int): void;
|
|
1021
1130
|
get_Item(parameterName: string): NpgsqlParameter;
|
|
1022
1131
|
get_Item(index: int): NpgsqlParameter;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1132
|
+
GetEnumerator(): IEnumerator;
|
|
1133
|
+
IndexOf(parameterName: string): int;
|
|
1134
|
+
IndexOf(value: unknown): int;
|
|
1135
|
+
IndexOf(item: NpgsqlParameter): int;
|
|
1136
|
+
Insert(index: int, value: unknown): void;
|
|
1137
|
+
Insert(index: int, item: NpgsqlParameter): void;
|
|
1138
|
+
Remove(parameterName: string): void;
|
|
1139
|
+
Remove(value: unknown): void;
|
|
1140
|
+
Remove(item: NpgsqlParameter): boolean;
|
|
1141
|
+
RemoveAt(parameterName: string): void;
|
|
1142
|
+
RemoveAt(index: int): void;
|
|
1034
1143
|
set_Item(parameterName: string, value: NpgsqlParameter): void;
|
|
1035
1144
|
set_Item(index: int, value: NpgsqlParameter): void;
|
|
1036
|
-
|
|
1037
|
-
|
|
1145
|
+
ToArray(): NpgsqlParameter[];
|
|
1146
|
+
TryGetValue(parameterName: string, parameter: NpgsqlParameter): boolean;
|
|
1038
1147
|
}
|
|
1039
1148
|
|
|
1040
1149
|
|
|
@@ -1045,30 +1154,35 @@ export const NpgsqlParameterCollection: {
|
|
|
1045
1154
|
|
|
1046
1155
|
export type NpgsqlParameterCollection = NpgsqlParameterCollection$instance;
|
|
1047
1156
|
|
|
1048
|
-
export
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1157
|
+
export abstract class NpgsqlRawCopyStream$protected {
|
|
1158
|
+
protected Dispose(disposing: boolean): void;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
export interface NpgsqlRawCopyStream$instance extends NpgsqlRawCopyStream$protected, Stream {
|
|
1163
|
+
readonly CanRead: boolean;
|
|
1164
|
+
readonly CanSeek: boolean;
|
|
1165
|
+
readonly CanTimeout: boolean;
|
|
1166
|
+
readonly CanWrite: boolean;
|
|
1167
|
+
readonly Length: long;
|
|
1168
|
+
Position: long;
|
|
1169
|
+
ReadTimeout: int;
|
|
1170
|
+
WriteTimeout: int;
|
|
1171
|
+
Cancel(): void;
|
|
1172
|
+
CancelAsync(): Task;
|
|
1173
|
+
DisposeAsync(): ValueTask;
|
|
1174
|
+
Flush(): void;
|
|
1175
|
+
FlushAsync(cancellationToken: CancellationToken): Task;
|
|
1176
|
+
Read(buffer: byte[], offset: int, count: int): int;
|
|
1177
|
+
Read(span: Span<System_Internal.Byte>): int;
|
|
1178
|
+
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
1179
|
+
ReadAsync(buffer: Memory<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask<System_Internal.Int32>;
|
|
1180
|
+
Seek(offset: long, origin: SeekOrigin): long;
|
|
1181
|
+
SetLength(value: long): void;
|
|
1182
|
+
Write(buffer: byte[], offset: int, count: int): void;
|
|
1183
|
+
Write(buffer: ReadOnlySpan<System_Internal.Byte>): void;
|
|
1184
|
+
WriteAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1185
|
+
WriteAsync(buffer: ReadOnlyMemory<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1072
1186
|
}
|
|
1073
1187
|
|
|
1074
1188
|
|
|
@@ -1102,55 +1216,55 @@ export const NpgsqlRowUpdatingEventArgs: {
|
|
|
1102
1216
|
export type NpgsqlRowUpdatingEventArgs = NpgsqlRowUpdatingEventArgs$instance;
|
|
1103
1217
|
|
|
1104
1218
|
export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
1105
|
-
readonly
|
|
1106
|
-
readonly
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1219
|
+
readonly ConnectionString: string;
|
|
1220
|
+
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
1221
|
+
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
1222
|
+
Name: string;
|
|
1223
|
+
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
1224
|
+
Build(): NpgsqlDataSource;
|
|
1225
|
+
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
1226
|
+
ConfigureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlSlimDataSourceBuilder;
|
|
1227
|
+
ConfigureTracing(configureAction: Action<NpgsqlTracingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1228
|
+
ConfigureTypeLoading(configureAction: Action<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1229
|
+
EnableArrays(): NpgsqlSlimDataSourceBuilder;
|
|
1230
|
+
EnableCube(): NpgsqlSlimDataSourceBuilder;
|
|
1231
|
+
EnableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlSlimDataSourceBuilder;
|
|
1232
|
+
EnableExtraConversions(): NpgsqlSlimDataSourceBuilder;
|
|
1233
|
+
EnableFullTextSearch(): NpgsqlSlimDataSourceBuilder;
|
|
1234
|
+
EnableGeometricTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1235
|
+
EnableIntegratedSecurity(): NpgsqlSlimDataSourceBuilder;
|
|
1236
|
+
EnableJsonTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1237
|
+
EnableLTree(): NpgsqlSlimDataSourceBuilder;
|
|
1238
|
+
EnableMultiranges(): NpgsqlSlimDataSourceBuilder;
|
|
1239
|
+
EnableNetworkTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1240
|
+
EnableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlSlimDataSourceBuilder;
|
|
1241
|
+
EnableRanges(): NpgsqlSlimDataSourceBuilder;
|
|
1242
|
+
EnableRecords(): NpgsqlSlimDataSourceBuilder;
|
|
1243
|
+
EnableRecordsAsTuples(): NpgsqlSlimDataSourceBuilder;
|
|
1244
|
+
EnableTransportSecurity(): NpgsqlSlimDataSourceBuilder;
|
|
1245
|
+
EnableUnmappedTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1246
|
+
MapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1247
|
+
MapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1248
|
+
MapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1249
|
+
MapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1250
|
+
UnmapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1251
|
+
UnmapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1252
|
+
UnmapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1253
|
+
UnmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1254
|
+
UseClientCertificate(clientCertificate: X509Certificate): NpgsqlSlimDataSourceBuilder;
|
|
1255
|
+
UseClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlSlimDataSourceBuilder;
|
|
1256
|
+
UseClientCertificatesCallback(clientCertificatesCallback: Action<X509CertificateCollection>): NpgsqlSlimDataSourceBuilder;
|
|
1257
|
+
UseLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlSlimDataSourceBuilder;
|
|
1258
|
+
UseNegotiateOptionsCallback(negotiateOptionsCallback: Action<NegotiateAuthenticationClientOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1259
|
+
UsePasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>): NpgsqlSlimDataSourceBuilder;
|
|
1260
|
+
UsePeriodicPasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlSlimDataSourceBuilder;
|
|
1261
|
+
UsePhysicalConnectionInitializer(connectionInitializer: Action<NpgsqlConnection>, connectionInitializerAsync: Func<NpgsqlConnection, Task>): NpgsqlSlimDataSourceBuilder;
|
|
1262
|
+
UseRootCertificate(rootCertificate: X509Certificate2): NpgsqlSlimDataSourceBuilder;
|
|
1263
|
+
UseRootCertificateCallback(rootCertificateCallback: Func<X509Certificate2>): NpgsqlSlimDataSourceBuilder;
|
|
1264
|
+
UseRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlSlimDataSourceBuilder;
|
|
1265
|
+
UseRootCertificatesCallback(rootCertificateCallback: Func<X509Certificate2Collection>): NpgsqlSlimDataSourceBuilder;
|
|
1266
|
+
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action<SslClientAuthenticationOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1267
|
+
UseUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlSlimDataSourceBuilder;
|
|
1154
1268
|
}
|
|
1155
1269
|
|
|
1156
1270
|
|
|
@@ -1167,17 +1281,17 @@ export type NpgsqlSlimDataSourceBuilder = NpgsqlSlimDataSourceBuilder$instance &
|
|
|
1167
1281
|
|
|
1168
1282
|
|
|
1169
1283
|
export interface NpgsqlTracingOptionsBuilder$instance {
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1284
|
+
ConfigureBatchEnrichmentCallback(batchEnrichmentCallback: Action<Activity, NpgsqlBatch>): NpgsqlTracingOptionsBuilder;
|
|
1285
|
+
ConfigureBatchFilter(batchFilter: Func<NpgsqlBatch, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1286
|
+
ConfigureBatchSpanNameProvider(batchSpanNameProvider: Func<NpgsqlBatch, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1287
|
+
ConfigureCommandEnrichmentCallback(commandEnrichmentCallback: Action<Activity, NpgsqlCommand>): NpgsqlTracingOptionsBuilder;
|
|
1288
|
+
ConfigureCommandFilter(commandFilter: Func<NpgsqlCommand, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1289
|
+
ConfigureCommandSpanNameProvider(commandSpanNameProvider: Func<NpgsqlCommand, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1290
|
+
ConfigureCopyOperationEnrichmentCallback(copyOperationEnrichmentCallback: Action<Activity, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1291
|
+
ConfigureCopyOperationFilter(copyOperationFilter: Func<System_Internal.String, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1292
|
+
ConfigureCopyOperationSpanNameProvider(copyOperationSpanNameProvider: Func<System_Internal.String, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1293
|
+
EnableFirstResponseEvent(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1294
|
+
EnablePhysicalOpenTracing(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1181
1295
|
}
|
|
1182
1296
|
|
|
1183
1297
|
|
|
@@ -1188,21 +1302,27 @@ export const NpgsqlTracingOptionsBuilder: {
|
|
|
1188
1302
|
|
|
1189
1303
|
export type NpgsqlTracingOptionsBuilder = NpgsqlTracingOptionsBuilder$instance;
|
|
1190
1304
|
|
|
1191
|
-
export
|
|
1192
|
-
readonly
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1305
|
+
export abstract class NpgsqlTransaction$protected {
|
|
1306
|
+
protected readonly DbConnection: DbConnection;
|
|
1307
|
+
protected Dispose(disposing: boolean): void;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
export interface NpgsqlTransaction$instance extends NpgsqlTransaction$protected, DbTransaction {
|
|
1312
|
+
readonly Connection: NpgsqlConnection | undefined;
|
|
1313
|
+
readonly IsolationLevel: IsolationLevel;
|
|
1314
|
+
readonly SupportsSavepoints: boolean;
|
|
1315
|
+
Commit(): void;
|
|
1316
|
+
CommitAsync(cancellationToken?: CancellationToken): Task;
|
|
1317
|
+
DisposeAsync(): ValueTask;
|
|
1318
|
+
Release(name: string): void;
|
|
1319
|
+
ReleaseAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1320
|
+
Rollback(): void;
|
|
1321
|
+
Rollback(name: string): void;
|
|
1322
|
+
RollbackAsync(cancellationToken?: CancellationToken): Task;
|
|
1323
|
+
RollbackAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1324
|
+
Save(name: string): void;
|
|
1325
|
+
SaveAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1206
1326
|
}
|
|
1207
1327
|
|
|
1208
1328
|
|
|
@@ -1214,9 +1334,9 @@ export const NpgsqlTransaction: {
|
|
|
1214
1334
|
export type NpgsqlTransaction = NpgsqlTransaction$instance;
|
|
1215
1335
|
|
|
1216
1336
|
export interface NpgsqlTypeLoadingOptionsBuilder$instance {
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1337
|
+
EnableTableCompositesLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1338
|
+
EnableTypeLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1339
|
+
SetTypeLoadingSchemas(schemas: IEnumerable__System_Collections_Generic<System_Internal.String>): NpgsqlTypeLoadingOptionsBuilder;
|
|
1220
1340
|
}
|
|
1221
1341
|
|
|
1222
1342
|
|
|
@@ -1228,27 +1348,27 @@ export const NpgsqlTypeLoadingOptionsBuilder: {
|
|
|
1228
1348
|
export type NpgsqlTypeLoadingOptionsBuilder = NpgsqlTypeLoadingOptionsBuilder$instance;
|
|
1229
1349
|
|
|
1230
1350
|
export interface PostgresException$instance extends NpgsqlException {
|
|
1231
|
-
readonly
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly
|
|
1234
|
-
readonly
|
|
1235
|
-
readonly
|
|
1236
|
-
readonly
|
|
1237
|
-
readonly
|
|
1238
|
-
readonly
|
|
1239
|
-
readonly
|
|
1240
|
-
readonly
|
|
1241
|
-
readonly
|
|
1242
|
-
readonly
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly
|
|
1245
|
-
readonly
|
|
1246
|
-
readonly
|
|
1247
|
-
readonly
|
|
1248
|
-
readonly
|
|
1249
|
-
readonly
|
|
1250
|
-
|
|
1251
|
-
|
|
1351
|
+
readonly ColumnName: string | undefined;
|
|
1352
|
+
readonly ConstraintName: string | undefined;
|
|
1353
|
+
readonly DataTypeName: string | undefined;
|
|
1354
|
+
readonly Detail: string | undefined;
|
|
1355
|
+
readonly File: string | undefined;
|
|
1356
|
+
readonly Hint: string | undefined;
|
|
1357
|
+
readonly InternalPosition: int;
|
|
1358
|
+
readonly InternalQuery: string | undefined;
|
|
1359
|
+
readonly InvariantSeverity: string;
|
|
1360
|
+
readonly IsTransient: boolean;
|
|
1361
|
+
readonly Line: string | undefined;
|
|
1362
|
+
readonly MessageText: string;
|
|
1363
|
+
readonly Position: int;
|
|
1364
|
+
readonly Routine: string | undefined;
|
|
1365
|
+
readonly SchemaName: string | undefined;
|
|
1366
|
+
readonly Severity: string;
|
|
1367
|
+
readonly SqlState: string;
|
|
1368
|
+
readonly TableName: string | undefined;
|
|
1369
|
+
readonly Where: string | undefined;
|
|
1370
|
+
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1371
|
+
ToString(): string;
|
|
1252
1372
|
}
|
|
1253
1373
|
|
|
1254
1374
|
|
|
@@ -1261,36 +1381,36 @@ export const PostgresException: {
|
|
|
1261
1381
|
export type PostgresException = PostgresException$instance;
|
|
1262
1382
|
|
|
1263
1383
|
export interface PostgresNotice$instance {
|
|
1264
|
-
get
|
|
1265
|
-
set
|
|
1266
|
-
get
|
|
1267
|
-
set
|
|
1268
|
-
get
|
|
1269
|
-
set
|
|
1270
|
-
get
|
|
1271
|
-
set
|
|
1272
|
-
get
|
|
1273
|
-
set
|
|
1274
|
-
get
|
|
1275
|
-
set
|
|
1276
|
-
|
|
1277
|
-
get
|
|
1278
|
-
set
|
|
1279
|
-
readonly
|
|
1280
|
-
get
|
|
1281
|
-
set
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
get
|
|
1285
|
-
set
|
|
1286
|
-
get
|
|
1287
|
-
set
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
get
|
|
1291
|
-
set
|
|
1292
|
-
get
|
|
1293
|
-
set
|
|
1384
|
+
get ColumnName(): string | undefined;
|
|
1385
|
+
set ColumnName(value: string);
|
|
1386
|
+
get ConstraintName(): string | undefined;
|
|
1387
|
+
set ConstraintName(value: string);
|
|
1388
|
+
get DataTypeName(): string | undefined;
|
|
1389
|
+
set DataTypeName(value: string);
|
|
1390
|
+
get Detail(): string | undefined;
|
|
1391
|
+
set Detail(value: string);
|
|
1392
|
+
get File(): string | undefined;
|
|
1393
|
+
set File(value: string);
|
|
1394
|
+
get Hint(): string | undefined;
|
|
1395
|
+
set Hint(value: string);
|
|
1396
|
+
InternalPosition: int;
|
|
1397
|
+
get InternalQuery(): string | undefined;
|
|
1398
|
+
set InternalQuery(value: string);
|
|
1399
|
+
readonly InvariantSeverity: string;
|
|
1400
|
+
get Line(): string | undefined;
|
|
1401
|
+
set Line(value: string);
|
|
1402
|
+
MessageText: string;
|
|
1403
|
+
Position: int;
|
|
1404
|
+
get Routine(): string | undefined;
|
|
1405
|
+
set Routine(value: string);
|
|
1406
|
+
get SchemaName(): string | undefined;
|
|
1407
|
+
set SchemaName(value: string);
|
|
1408
|
+
Severity: string;
|
|
1409
|
+
SqlState: string;
|
|
1410
|
+
get TableName(): string | undefined;
|
|
1411
|
+
set TableName(value: string);
|
|
1412
|
+
get Where(): string | undefined;
|
|
1413
|
+
set Where(value: string);
|
|
1294
1414
|
}
|
|
1295
1415
|
|
|
1296
1416
|
|
|
@@ -1303,315 +1423,315 @@ export const PostgresNotice: {
|
|
|
1303
1423
|
export type PostgresNotice = PostgresNotice$instance;
|
|
1304
1424
|
|
|
1305
1425
|
export abstract class NpgsqlEventId$instance {
|
|
1306
|
-
static readonly
|
|
1307
|
-
static readonly
|
|
1308
|
-
static readonly
|
|
1309
|
-
static readonly
|
|
1310
|
-
static readonly
|
|
1311
|
-
static readonly
|
|
1312
|
-
static readonly
|
|
1313
|
-
static readonly
|
|
1314
|
-
static readonly
|
|
1315
|
-
static readonly
|
|
1316
|
-
static readonly
|
|
1317
|
-
static readonly
|
|
1318
|
-
static readonly
|
|
1319
|
-
static readonly
|
|
1320
|
-
static readonly
|
|
1321
|
-
static readonly
|
|
1322
|
-
static readonly
|
|
1323
|
-
static readonly
|
|
1324
|
-
static readonly
|
|
1325
|
-
static readonly
|
|
1326
|
-
static readonly
|
|
1327
|
-
static readonly
|
|
1328
|
-
static readonly
|
|
1329
|
-
static readonly
|
|
1330
|
-
static readonly
|
|
1331
|
-
static readonly
|
|
1332
|
-
static readonly
|
|
1333
|
-
static readonly
|
|
1334
|
-
static readonly
|
|
1335
|
-
static readonly
|
|
1336
|
-
static readonly
|
|
1337
|
-
static readonly
|
|
1338
|
-
static readonly
|
|
1339
|
-
static readonly
|
|
1340
|
-
static readonly
|
|
1341
|
-
static readonly
|
|
1342
|
-
static readonly
|
|
1343
|
-
static readonly
|
|
1344
|
-
static readonly
|
|
1345
|
-
static readonly
|
|
1346
|
-
static readonly
|
|
1347
|
-
static readonly
|
|
1348
|
-
static readonly
|
|
1349
|
-
static readonly
|
|
1350
|
-
static readonly
|
|
1351
|
-
static readonly
|
|
1352
|
-
static readonly
|
|
1353
|
-
static readonly
|
|
1354
|
-
static readonly
|
|
1355
|
-
static readonly
|
|
1356
|
-
static readonly
|
|
1357
|
-
static readonly
|
|
1358
|
-
static readonly
|
|
1359
|
-
static readonly
|
|
1360
|
-
static readonly
|
|
1361
|
-
static readonly
|
|
1362
|
-
static readonly
|
|
1363
|
-
static readonly
|
|
1364
|
-
static readonly
|
|
1365
|
-
static readonly
|
|
1366
|
-
static readonly
|
|
1367
|
-
static readonly
|
|
1368
|
-
static readonly
|
|
1369
|
-
static readonly
|
|
1370
|
-
static readonly
|
|
1426
|
+
static readonly OpeningConnection: int;
|
|
1427
|
+
static readonly OpenedConnection: int;
|
|
1428
|
+
static readonly ClosingConnection: int;
|
|
1429
|
+
static readonly ClosedConnection: int;
|
|
1430
|
+
static readonly OpeningPhysicalConnection: int;
|
|
1431
|
+
static readonly OpenedPhysicalConnection: int;
|
|
1432
|
+
static readonly ClosingPhysicalConnection: int;
|
|
1433
|
+
static readonly ClosedPhysicalConnection: int;
|
|
1434
|
+
static readonly StartingWait: int;
|
|
1435
|
+
static readonly ReceivedNotice: int;
|
|
1436
|
+
static readonly ConnectionExceededMaximumLifetime: int;
|
|
1437
|
+
static readonly SendingKeepalive: int;
|
|
1438
|
+
static readonly CompletedKeepalive: int;
|
|
1439
|
+
static readonly KeepaliveFailed: int;
|
|
1440
|
+
static readonly BreakingConnection: int;
|
|
1441
|
+
static readonly CaughtUserExceptionInNoticeEventHandler: int;
|
|
1442
|
+
static readonly CaughtUserExceptionInNotificationEventHandler: int;
|
|
1443
|
+
static readonly ExceptionWhenClosingPhysicalConnection: int;
|
|
1444
|
+
static readonly ExceptionWhenOpeningConnectionForMultiplexing: int;
|
|
1445
|
+
static readonly ExecutingCommand: int;
|
|
1446
|
+
static readonly CommandExecutionCompleted: int;
|
|
1447
|
+
static readonly CancellingCommand: int;
|
|
1448
|
+
static readonly ExecutingInternalCommand: int;
|
|
1449
|
+
static readonly PreparingCommandExplicitly: int;
|
|
1450
|
+
static readonly CommandPreparedExplicitly: int;
|
|
1451
|
+
static readonly AutoPreparingStatement: int;
|
|
1452
|
+
static readonly UnpreparingCommand: int;
|
|
1453
|
+
static readonly DerivingParameters: int;
|
|
1454
|
+
static readonly ExceptionWhenWritingMultiplexedCommands: int;
|
|
1455
|
+
static readonly StartedTransaction: int;
|
|
1456
|
+
static readonly CommittedTransaction: int;
|
|
1457
|
+
static readonly RolledBackTransaction: int;
|
|
1458
|
+
static readonly CreatingSavepoint: int;
|
|
1459
|
+
static readonly RolledBackToSavepoint: int;
|
|
1460
|
+
static readonly ReleasedSavepoint: int;
|
|
1461
|
+
static readonly ExceptionDuringTransactionDispose: int;
|
|
1462
|
+
static readonly EnlistedVolatileResourceManager: int;
|
|
1463
|
+
static readonly CommittingSinglePhaseTransaction: int;
|
|
1464
|
+
static readonly RollingBackSinglePhaseTransaction: int;
|
|
1465
|
+
static readonly SinglePhaseTransactionRollbackFailed: int;
|
|
1466
|
+
static readonly PreparingTwoPhaseTransaction: int;
|
|
1467
|
+
static readonly CommittingTwoPhaseTransaction: int;
|
|
1468
|
+
static readonly TwoPhaseTransactionCommitFailed: int;
|
|
1469
|
+
static readonly RollingBackTwoPhaseTransaction: int;
|
|
1470
|
+
static readonly TwoPhaseTransactionRollbackFailed: int;
|
|
1471
|
+
static readonly TwoPhaseTransactionInDoubt: int;
|
|
1472
|
+
static readonly ConnectionInUseWhenRollingBack: int;
|
|
1473
|
+
static readonly CleaningUpResourceManager: int;
|
|
1474
|
+
static readonly StartingBinaryExport: int;
|
|
1475
|
+
static readonly StartingBinaryImport: int;
|
|
1476
|
+
static readonly StartingTextExport: int;
|
|
1477
|
+
static readonly StartingTextImport: int;
|
|
1478
|
+
static readonly StartingRawCopy: int;
|
|
1479
|
+
static readonly CopyOperationCompleted: int;
|
|
1480
|
+
static readonly CopyOperationCancelled: int;
|
|
1481
|
+
static readonly ExceptionWhenDisposingCopyOperation: int;
|
|
1482
|
+
static readonly CreatingReplicationSlot: int;
|
|
1483
|
+
static readonly DroppingReplicationSlot: int;
|
|
1484
|
+
static readonly StartingLogicalReplication: int;
|
|
1485
|
+
static readonly StartingPhysicalReplication: int;
|
|
1486
|
+
static readonly ExecutingReplicationCommand: int;
|
|
1487
|
+
static readonly ReceivedReplicationPrimaryKeepalive: int;
|
|
1488
|
+
static readonly SendingReplicationStandbyStatusUpdate: int;
|
|
1489
|
+
static readonly SentReplicationFeedbackMessage: int;
|
|
1490
|
+
static readonly ReplicationFeedbackMessageSendingFailed: int;
|
|
1371
1491
|
}
|
|
1372
1492
|
|
|
1373
1493
|
|
|
1374
1494
|
export type NpgsqlEventId = NpgsqlEventId$instance;
|
|
1375
1495
|
|
|
1376
1496
|
export abstract class PostgresErrorCodes$instance {
|
|
1377
|
-
static readonly
|
|
1378
|
-
static readonly
|
|
1379
|
-
static readonly
|
|
1380
|
-
static readonly
|
|
1381
|
-
static readonly
|
|
1382
|
-
static readonly
|
|
1383
|
-
static readonly
|
|
1384
|
-
static readonly
|
|
1385
|
-
static readonly
|
|
1386
|
-
static readonly
|
|
1387
|
-
static readonly
|
|
1388
|
-
static readonly
|
|
1389
|
-
static readonly
|
|
1390
|
-
static readonly
|
|
1391
|
-
static readonly
|
|
1392
|
-
static readonly
|
|
1393
|
-
static readonly
|
|
1394
|
-
static readonly
|
|
1395
|
-
static readonly
|
|
1396
|
-
static readonly
|
|
1397
|
-
static readonly
|
|
1398
|
-
static readonly
|
|
1399
|
-
static readonly
|
|
1400
|
-
static readonly
|
|
1401
|
-
static readonly
|
|
1402
|
-
static readonly
|
|
1403
|
-
static readonly
|
|
1404
|
-
static readonly
|
|
1405
|
-
static readonly
|
|
1406
|
-
static readonly
|
|
1407
|
-
static readonly
|
|
1408
|
-
static readonly
|
|
1409
|
-
static readonly
|
|
1410
|
-
static readonly
|
|
1411
|
-
static readonly
|
|
1412
|
-
static readonly
|
|
1413
|
-
static readonly
|
|
1414
|
-
static readonly
|
|
1415
|
-
static readonly
|
|
1416
|
-
static readonly
|
|
1417
|
-
static readonly
|
|
1418
|
-
static readonly
|
|
1419
|
-
static readonly
|
|
1420
|
-
static readonly
|
|
1421
|
-
static readonly
|
|
1422
|
-
static readonly
|
|
1423
|
-
static readonly
|
|
1424
|
-
static readonly
|
|
1425
|
-
static readonly
|
|
1426
|
-
static readonly
|
|
1427
|
-
static readonly
|
|
1428
|
-
static readonly
|
|
1429
|
-
static readonly
|
|
1430
|
-
static readonly
|
|
1431
|
-
static readonly
|
|
1432
|
-
static readonly
|
|
1433
|
-
static readonly
|
|
1434
|
-
static readonly
|
|
1435
|
-
static readonly
|
|
1436
|
-
static readonly
|
|
1437
|
-
static readonly
|
|
1438
|
-
static readonly
|
|
1439
|
-
static readonly
|
|
1440
|
-
static readonly
|
|
1441
|
-
static readonly
|
|
1442
|
-
static readonly
|
|
1443
|
-
static readonly
|
|
1444
|
-
static readonly
|
|
1445
|
-
static readonly
|
|
1446
|
-
static readonly
|
|
1447
|
-
static readonly
|
|
1448
|
-
static readonly
|
|
1449
|
-
static readonly
|
|
1450
|
-
static readonly
|
|
1451
|
-
static readonly
|
|
1452
|
-
static readonly
|
|
1453
|
-
static readonly
|
|
1454
|
-
static readonly
|
|
1455
|
-
static readonly
|
|
1456
|
-
static readonly
|
|
1457
|
-
static readonly
|
|
1458
|
-
static readonly
|
|
1459
|
-
static readonly
|
|
1460
|
-
static readonly
|
|
1461
|
-
static readonly
|
|
1462
|
-
static readonly
|
|
1463
|
-
static readonly
|
|
1464
|
-
static readonly
|
|
1465
|
-
static readonly
|
|
1466
|
-
static readonly
|
|
1467
|
-
static readonly
|
|
1468
|
-
static readonly
|
|
1469
|
-
static readonly
|
|
1470
|
-
static readonly
|
|
1471
|
-
static readonly
|
|
1472
|
-
static readonly
|
|
1473
|
-
static readonly
|
|
1474
|
-
static readonly
|
|
1475
|
-
static readonly
|
|
1476
|
-
static readonly
|
|
1477
|
-
static readonly
|
|
1478
|
-
static readonly
|
|
1479
|
-
static readonly
|
|
1480
|
-
static readonly
|
|
1481
|
-
static readonly
|
|
1482
|
-
static readonly
|
|
1483
|
-
static readonly
|
|
1484
|
-
static readonly
|
|
1485
|
-
static readonly
|
|
1486
|
-
static readonly
|
|
1487
|
-
static readonly
|
|
1488
|
-
static readonly
|
|
1489
|
-
static readonly
|
|
1490
|
-
static readonly
|
|
1491
|
-
static readonly
|
|
1492
|
-
static readonly
|
|
1493
|
-
static readonly
|
|
1494
|
-
static readonly
|
|
1495
|
-
static readonly
|
|
1496
|
-
static readonly
|
|
1497
|
-
static readonly
|
|
1498
|
-
static readonly
|
|
1499
|
-
static readonly
|
|
1500
|
-
static readonly
|
|
1501
|
-
static readonly
|
|
1502
|
-
static readonly
|
|
1503
|
-
static readonly
|
|
1504
|
-
static readonly
|
|
1505
|
-
static readonly
|
|
1506
|
-
static readonly
|
|
1507
|
-
static readonly
|
|
1508
|
-
static readonly
|
|
1509
|
-
static readonly
|
|
1510
|
-
static readonly
|
|
1511
|
-
static readonly
|
|
1512
|
-
static readonly
|
|
1513
|
-
static readonly
|
|
1514
|
-
static readonly
|
|
1515
|
-
static readonly
|
|
1516
|
-
static readonly
|
|
1517
|
-
static readonly
|
|
1518
|
-
static readonly
|
|
1519
|
-
static readonly
|
|
1520
|
-
static readonly
|
|
1521
|
-
static readonly
|
|
1522
|
-
static readonly
|
|
1523
|
-
static readonly
|
|
1524
|
-
static readonly
|
|
1525
|
-
static readonly
|
|
1526
|
-
static readonly
|
|
1527
|
-
static readonly
|
|
1528
|
-
static readonly
|
|
1529
|
-
static readonly
|
|
1530
|
-
static readonly
|
|
1531
|
-
static readonly
|
|
1532
|
-
static readonly
|
|
1533
|
-
static readonly
|
|
1534
|
-
static readonly
|
|
1535
|
-
static readonly
|
|
1536
|
-
static readonly
|
|
1537
|
-
static readonly
|
|
1538
|
-
static readonly
|
|
1539
|
-
static readonly
|
|
1540
|
-
static readonly
|
|
1541
|
-
static readonly
|
|
1542
|
-
static readonly
|
|
1543
|
-
static readonly
|
|
1544
|
-
static readonly
|
|
1545
|
-
static readonly
|
|
1546
|
-
static readonly
|
|
1547
|
-
static readonly
|
|
1548
|
-
static readonly
|
|
1549
|
-
static readonly
|
|
1550
|
-
static readonly
|
|
1551
|
-
static readonly
|
|
1552
|
-
static readonly
|
|
1553
|
-
static readonly
|
|
1554
|
-
static readonly
|
|
1555
|
-
static readonly
|
|
1556
|
-
static readonly
|
|
1557
|
-
static readonly
|
|
1558
|
-
static readonly
|
|
1559
|
-
static readonly
|
|
1560
|
-
static readonly
|
|
1561
|
-
static readonly
|
|
1562
|
-
static readonly
|
|
1563
|
-
static readonly
|
|
1564
|
-
static readonly
|
|
1565
|
-
static readonly
|
|
1566
|
-
static readonly
|
|
1567
|
-
static readonly
|
|
1568
|
-
static readonly
|
|
1569
|
-
static readonly
|
|
1570
|
-
static readonly
|
|
1571
|
-
static readonly
|
|
1572
|
-
static readonly
|
|
1573
|
-
static readonly
|
|
1574
|
-
static readonly
|
|
1575
|
-
static readonly
|
|
1576
|
-
static readonly
|
|
1577
|
-
static readonly
|
|
1578
|
-
static readonly
|
|
1579
|
-
static readonly
|
|
1580
|
-
static readonly
|
|
1581
|
-
static readonly
|
|
1582
|
-
static readonly
|
|
1583
|
-
static readonly
|
|
1584
|
-
static readonly
|
|
1585
|
-
static readonly
|
|
1586
|
-
static readonly
|
|
1587
|
-
static readonly
|
|
1588
|
-
static readonly
|
|
1589
|
-
static readonly
|
|
1590
|
-
static readonly
|
|
1591
|
-
static readonly
|
|
1592
|
-
static readonly
|
|
1593
|
-
static readonly
|
|
1594
|
-
static readonly
|
|
1595
|
-
static readonly
|
|
1596
|
-
static readonly
|
|
1597
|
-
static readonly
|
|
1598
|
-
static readonly
|
|
1599
|
-
static readonly
|
|
1600
|
-
static readonly
|
|
1601
|
-
static readonly
|
|
1602
|
-
static readonly
|
|
1603
|
-
static readonly
|
|
1604
|
-
static readonly
|
|
1605
|
-
static readonly
|
|
1606
|
-
static readonly
|
|
1607
|
-
static readonly
|
|
1608
|
-
static readonly
|
|
1609
|
-
static readonly
|
|
1610
|
-
static readonly
|
|
1611
|
-
static readonly
|
|
1612
|
-
static readonly
|
|
1613
|
-
static readonly
|
|
1614
|
-
static readonly
|
|
1497
|
+
static readonly SuccessfulCompletion: string;
|
|
1498
|
+
static readonly Warning: string;
|
|
1499
|
+
static readonly DynamicResultSetsReturnedWarning: string;
|
|
1500
|
+
static readonly ImplicitZeroBitPaddingWarning: string;
|
|
1501
|
+
static readonly NullValueEliminatedInSetFunctionWarning: string;
|
|
1502
|
+
static readonly PrivilegeNotGrantedWarning: string;
|
|
1503
|
+
static readonly PrivilegeNotRevokedWarning: string;
|
|
1504
|
+
static readonly StringDataRightTruncationWarning: string;
|
|
1505
|
+
static readonly DeprecatedFeatureWarning: string;
|
|
1506
|
+
static readonly NoData: string;
|
|
1507
|
+
static readonly NoAdditionalDynamicResultSetsReturned: string;
|
|
1508
|
+
static readonly SqlStatementNotYetComplete: string;
|
|
1509
|
+
static readonly ConnectionException: string;
|
|
1510
|
+
static readonly ConnectionDoesNotExist: string;
|
|
1511
|
+
static readonly ConnectionFailure: string;
|
|
1512
|
+
static readonly SqlClientUnableToEstablishSqlConnection: string;
|
|
1513
|
+
static readonly SqlServerRejectedEstablishmentOfSqlConnection: string;
|
|
1514
|
+
static readonly TransactionResolutionUnknown: string;
|
|
1515
|
+
static readonly ProtocolViolation: string;
|
|
1516
|
+
static readonly TriggeredActionException: string;
|
|
1517
|
+
static readonly FeatureNotSupported: string;
|
|
1518
|
+
static readonly InvalidTransactionInitiation: string;
|
|
1519
|
+
static readonly LocatorException: string;
|
|
1520
|
+
static readonly InvalidLocatorSpecification: string;
|
|
1521
|
+
static readonly InvalidGrantor: string;
|
|
1522
|
+
static readonly InvalidGrantOperation: string;
|
|
1523
|
+
static readonly InvalidRoleSpecification: string;
|
|
1524
|
+
static readonly DiagnosticsException: string;
|
|
1525
|
+
static readonly StackedDiagnosticsAccessedWithoutActiveHandler: string;
|
|
1526
|
+
static readonly CaseNotFound: string;
|
|
1527
|
+
static readonly CardinalityViolation: string;
|
|
1528
|
+
static readonly DataException: string;
|
|
1529
|
+
static readonly ArraySubscriptError: string;
|
|
1530
|
+
static readonly CharacterNotInRepertoire: string;
|
|
1531
|
+
static readonly DatetimeFieldOverflow: string;
|
|
1532
|
+
static readonly DivisionByZero: string;
|
|
1533
|
+
static readonly ErrorInAssignment: string;
|
|
1534
|
+
static readonly EscapeCharacterConflict: string;
|
|
1535
|
+
static readonly IndicatorOverflow: string;
|
|
1536
|
+
static readonly IntervalFieldOverflow: string;
|
|
1537
|
+
static readonly InvalidArgumentForLogarithm: string;
|
|
1538
|
+
static readonly InvalidArgumentForNtileFunction: string;
|
|
1539
|
+
static readonly InvalidArgumentForNthValueFunction: string;
|
|
1540
|
+
static readonly InvalidArgumentForPowerFunction: string;
|
|
1541
|
+
static readonly InvalidArgumentForWidthBucketFunction: string;
|
|
1542
|
+
static readonly InvalidCharacterValueForCast: string;
|
|
1543
|
+
static readonly InvalidDatetimeFormat: string;
|
|
1544
|
+
static readonly InvalidEscapeCharacter: string;
|
|
1545
|
+
static readonly InvalidEscapeOctet: string;
|
|
1546
|
+
static readonly InvalidEscapeSequence: string;
|
|
1547
|
+
static readonly NonstandardUseOfEscapeCharacter: string;
|
|
1548
|
+
static readonly InvalidIndicatorParameterValue: string;
|
|
1549
|
+
static readonly InvalidParameterValue: string;
|
|
1550
|
+
static readonly InvalidRegularExpression: string;
|
|
1551
|
+
static readonly InvalidRowCountInLimitClause: string;
|
|
1552
|
+
static readonly InvalidRowCountInResultOffsetClause: string;
|
|
1553
|
+
static readonly InvalidTablesampleArgument: string;
|
|
1554
|
+
static readonly InvalidTablesampleRepeat: string;
|
|
1555
|
+
static readonly InvalidTimeZoneDisplacementValue: string;
|
|
1556
|
+
static readonly InvalidUseOfEscapeCharacter: string;
|
|
1557
|
+
static readonly MostSpecificTypeMismatch: string;
|
|
1558
|
+
static readonly NullValueNotAllowed: string;
|
|
1559
|
+
static readonly NullValueNoIndicatorParameter: string;
|
|
1560
|
+
static readonly NumericValueOutOfRange: string;
|
|
1561
|
+
static readonly StringDataLengthMismatch: string;
|
|
1562
|
+
static readonly StringDataRightTruncation: string;
|
|
1563
|
+
static readonly SubstringError: string;
|
|
1564
|
+
static readonly TrimError: string;
|
|
1565
|
+
static readonly UnterminatedCString: string;
|
|
1566
|
+
static readonly ZeroLengthCharacterString: string;
|
|
1567
|
+
static readonly FloatingPointException: string;
|
|
1568
|
+
static readonly InvalidTextRepresentation: string;
|
|
1569
|
+
static readonly InvalidBinaryRepresentation: string;
|
|
1570
|
+
static readonly BadCopyFileFormat: string;
|
|
1571
|
+
static readonly UntranslatableCharacter: string;
|
|
1572
|
+
static readonly NotAnXmlDocument: string;
|
|
1573
|
+
static readonly InvalidXmlDocument: string;
|
|
1574
|
+
static readonly InvalidXmlContent: string;
|
|
1575
|
+
static readonly InvalidXmlComment: string;
|
|
1576
|
+
static readonly InvalidXmlProcessingInstruction: string;
|
|
1577
|
+
static readonly IntegrityConstraintViolation: string;
|
|
1578
|
+
static readonly RestrictViolation: string;
|
|
1579
|
+
static readonly NotNullViolation: string;
|
|
1580
|
+
static readonly ForeignKeyViolation: string;
|
|
1581
|
+
static readonly UniqueViolation: string;
|
|
1582
|
+
static readonly CheckViolation: string;
|
|
1583
|
+
static readonly ExclusionViolation: string;
|
|
1584
|
+
static readonly InvalidCursorState: string;
|
|
1585
|
+
static readonly InvalidTransactionState: string;
|
|
1586
|
+
static readonly ActiveSqlTransaction: string;
|
|
1587
|
+
static readonly BranchTransactionAlreadyActive: string;
|
|
1588
|
+
static readonly HeldCursorRequiresSameIsolationLevel: string;
|
|
1589
|
+
static readonly InappropriateAccessModeForBranchTransaction: string;
|
|
1590
|
+
static readonly InappropriateIsolationLevelForBranchTransaction: string;
|
|
1591
|
+
static readonly NoActiveSqlTransactionForBranchTransaction: string;
|
|
1592
|
+
static readonly ReadOnlySqlTransaction: string;
|
|
1593
|
+
static readonly SchemaAndDataStatementMixingNotSupported: string;
|
|
1594
|
+
static readonly NoActiveSqlTransaction: string;
|
|
1595
|
+
static readonly InFailedSqlTransaction: string;
|
|
1596
|
+
static readonly InvalidSqlStatementName: string;
|
|
1597
|
+
static readonly TriggeredDataChangeViolation: string;
|
|
1598
|
+
static readonly InvalidAuthorizationSpecification: string;
|
|
1599
|
+
static readonly InvalidPassword: string;
|
|
1600
|
+
static readonly DependentPrivilegeDescriptorsStillExist: string;
|
|
1601
|
+
static readonly DependentObjectsStillExist: string;
|
|
1602
|
+
static readonly InvalidTransactionTermination: string;
|
|
1603
|
+
static readonly SqlRoutineException: string;
|
|
1604
|
+
static readonly FunctionExecutedNoReturnStatementSqlRoutineException: string;
|
|
1605
|
+
static readonly ModifyingSqlDataNotPermittedSqlRoutineException: string;
|
|
1606
|
+
static readonly ProhibitedSqlStatementAttemptedSqlRoutineException: string;
|
|
1607
|
+
static readonly ReadingSqlDataNotPermittedSqlRoutineException: string;
|
|
1608
|
+
static readonly InvalidCursorName: string;
|
|
1609
|
+
static readonly ExternalRoutineException: string;
|
|
1610
|
+
static readonly ContainingSqlNotPermittedExternalRoutineException: string;
|
|
1611
|
+
static readonly ModifyingSqlDataNotPermittedExternalRoutineException: string;
|
|
1612
|
+
static readonly ProhibitedSqlStatementAttemptedExternalRoutineException: string;
|
|
1613
|
+
static readonly ReadingSqlDataNotPermittedExternalRoutineException: string;
|
|
1614
|
+
static readonly ExternalRoutineInvocationException: string;
|
|
1615
|
+
static readonly InvalidSqlstateReturnedExternalRoutineInvocationException: string;
|
|
1616
|
+
static readonly NullValueNotAllowedExternalRoutineInvocationException: string;
|
|
1617
|
+
static readonly TriggerProtocolViolatedExternalRoutineInvocationException: string;
|
|
1618
|
+
static readonly SrfProtocolViolatedExternalRoutineInvocationException: string;
|
|
1619
|
+
static readonly EventTriggerProtocolViolatedExternalRoutineInvocationException: string;
|
|
1620
|
+
static readonly SavepointException: string;
|
|
1621
|
+
static readonly InvalidSavepointSpecification: string;
|
|
1622
|
+
static readonly InvalidCatalogName: string;
|
|
1623
|
+
static readonly InvalidSchemaName: string;
|
|
1624
|
+
static readonly TransactionRollback: string;
|
|
1625
|
+
static readonly TransactionIntegrityConstraintViolation: string;
|
|
1626
|
+
static readonly SerializationFailure: string;
|
|
1627
|
+
static readonly StatementCompletionUnknown: string;
|
|
1628
|
+
static readonly DeadlockDetected: string;
|
|
1629
|
+
static readonly SyntaxErrorOrAccessRuleViolation: string;
|
|
1630
|
+
static readonly SyntaxError: string;
|
|
1631
|
+
static readonly InsufficientPrivilege: string;
|
|
1632
|
+
static readonly CannotCoerce: string;
|
|
1633
|
+
static readonly GroupingError: string;
|
|
1634
|
+
static readonly WindowingError: string;
|
|
1635
|
+
static readonly InvalidRecursion: string;
|
|
1636
|
+
static readonly InvalidForeignKey: string;
|
|
1637
|
+
static readonly InvalidName: string;
|
|
1638
|
+
static readonly NameTooLong: string;
|
|
1639
|
+
static readonly ReservedName: string;
|
|
1640
|
+
static readonly DatatypeMismatch: string;
|
|
1641
|
+
static readonly IndeterminateDatatype: string;
|
|
1642
|
+
static readonly CollationMismatch: string;
|
|
1643
|
+
static readonly IndeterminateCollation: string;
|
|
1644
|
+
static readonly WrongObjectType: string;
|
|
1645
|
+
static readonly UndefinedColumn: string;
|
|
1646
|
+
static readonly UndefinedFunction: string;
|
|
1647
|
+
static readonly UndefinedTable: string;
|
|
1648
|
+
static readonly UndefinedParameter: string;
|
|
1649
|
+
static readonly UndefinedObject: string;
|
|
1650
|
+
static readonly DuplicateColumn: string;
|
|
1651
|
+
static readonly DuplicateCursor: string;
|
|
1652
|
+
static readonly DuplicateDatabase: string;
|
|
1653
|
+
static readonly DuplicateFunction: string;
|
|
1654
|
+
static readonly DuplicatePreparedStatement: string;
|
|
1655
|
+
static readonly DuplicateSchema: string;
|
|
1656
|
+
static readonly DuplicateTable: string;
|
|
1657
|
+
static readonly DuplicateAlias: string;
|
|
1658
|
+
static readonly DuplicateObject: string;
|
|
1659
|
+
static readonly AmbiguousColumn: string;
|
|
1660
|
+
static readonly AmbiguousFunction: string;
|
|
1661
|
+
static readonly AmbiguousParameter: string;
|
|
1662
|
+
static readonly AmbiguousAlias: string;
|
|
1663
|
+
static readonly InvalidColumnReference: string;
|
|
1664
|
+
static readonly InvalidColumnDefinition: string;
|
|
1665
|
+
static readonly InvalidCursorDefinition: string;
|
|
1666
|
+
static readonly InvalidDatabaseDefinition: string;
|
|
1667
|
+
static readonly InvalidFunctionDefinition: string;
|
|
1668
|
+
static readonly InvalidPreparedStatementDefinition: string;
|
|
1669
|
+
static readonly InvalidSchemaDefinition: string;
|
|
1670
|
+
static readonly InvalidTableDefinition: string;
|
|
1671
|
+
static readonly InvalidObjectDefinition: string;
|
|
1672
|
+
static readonly WithCheckOptionViolation: string;
|
|
1673
|
+
static readonly InsufficientResources: string;
|
|
1674
|
+
static readonly DiskFull: string;
|
|
1675
|
+
static readonly OutOfMemory: string;
|
|
1676
|
+
static readonly TooManyConnections: string;
|
|
1677
|
+
static readonly ConfigurationLimitExceeded: string;
|
|
1678
|
+
static readonly ProgramLimitExceeded: string;
|
|
1679
|
+
static readonly StatementTooComplex: string;
|
|
1680
|
+
static readonly TooManyColumns: string;
|
|
1681
|
+
static readonly TooManyArguments: string;
|
|
1682
|
+
static readonly ObjectNotInPrerequisiteState: string;
|
|
1683
|
+
static readonly ObjectInUse: string;
|
|
1684
|
+
static readonly CantChangeRuntimeParam: string;
|
|
1685
|
+
static readonly LockNotAvailable: string;
|
|
1686
|
+
static readonly OperatorIntervention: string;
|
|
1687
|
+
static readonly QueryCanceled: string;
|
|
1688
|
+
static readonly AdminShutdown: string;
|
|
1689
|
+
static readonly CrashShutdown: string;
|
|
1690
|
+
static readonly CannotConnectNow: string;
|
|
1691
|
+
static readonly DatabaseDropped: string;
|
|
1692
|
+
static readonly IdleSessionTimeout: string;
|
|
1693
|
+
static readonly SystemError: string;
|
|
1694
|
+
static readonly IoError: string;
|
|
1695
|
+
static readonly UndefinedFile: string;
|
|
1696
|
+
static readonly DuplicateFile: string;
|
|
1697
|
+
static readonly SnapshotFailure: string;
|
|
1698
|
+
static readonly ConfigFileError: string;
|
|
1699
|
+
static readonly LockFileExists: string;
|
|
1700
|
+
static readonly FdwError: string;
|
|
1701
|
+
static readonly FdwColumnNameNotFound: string;
|
|
1702
|
+
static readonly FdwDynamicParameterValueNeeded: string;
|
|
1703
|
+
static readonly FdwFunctionSequenceError: string;
|
|
1704
|
+
static readonly FdwInconsistentDescriptorInformation: string;
|
|
1705
|
+
static readonly FdwInvalidAttributeValue: string;
|
|
1706
|
+
static readonly FdwInvalidColumnName: string;
|
|
1707
|
+
static readonly FdwInvalidColumnNumber: string;
|
|
1708
|
+
static readonly FdwInvalidDataType: string;
|
|
1709
|
+
static readonly FdwInvalidDataTypeDescriptors: string;
|
|
1710
|
+
static readonly FdwInvalidDescriptorFieldIdentifier: string;
|
|
1711
|
+
static readonly FdwInvalidHandle: string;
|
|
1712
|
+
static readonly FdwInvalidOptionIndex: string;
|
|
1713
|
+
static readonly FdwInvalidOptionName: string;
|
|
1714
|
+
static readonly FdwInvalidStringLengthOrBufferLength: string;
|
|
1715
|
+
static readonly FdwInvalidStringFormat: string;
|
|
1716
|
+
static readonly FdwInvalidUseOfNullPointer: string;
|
|
1717
|
+
static readonly FdwTooManyHandles: string;
|
|
1718
|
+
static readonly FdwOutOfMemory: string;
|
|
1719
|
+
static readonly FdwNoSchemas: string;
|
|
1720
|
+
static readonly FdwOptionNameNotFound: string;
|
|
1721
|
+
static readonly FdwReplyHandle: string;
|
|
1722
|
+
static readonly FdwSchemaNotFound: string;
|
|
1723
|
+
static readonly FdwTableNotFound: string;
|
|
1724
|
+
static readonly FdwUnableToCreateExecution: string;
|
|
1725
|
+
static readonly FdwUnableToCreateReply: string;
|
|
1726
|
+
static readonly FdwUnableToEstablishConnection: string;
|
|
1727
|
+
static readonly PlpgsqlError: string;
|
|
1728
|
+
static readonly RaiseException: string;
|
|
1729
|
+
static readonly NoDataFound: string;
|
|
1730
|
+
static readonly TooManyRows: string;
|
|
1731
|
+
static readonly AssertFailure: string;
|
|
1732
|
+
static readonly InternalError: string;
|
|
1733
|
+
static readonly DataCorrupted: string;
|
|
1734
|
+
static readonly IndexCorrupted: string;
|
|
1615
1735
|
}
|
|
1616
1736
|
|
|
1617
1737
|
|