-
Notifications
You must be signed in to change notification settings - Fork 874
Expand file tree
/
Copy pathNpgsqlEventId.cs
More file actions
110 lines (81 loc) · 4.2 KB
/
NpgsqlEventId.cs
File metadata and controls
110 lines (81 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
namespace Npgsql;
#pragma warning disable CS1591
#pragma warning disable RS0016
public static class NpgsqlEventId
{
#region Connection
public const int OpeningConnection = 1000;
public const int OpenedConnection = 1001;
public const int ClosingConnection = 1003;
public const int ClosedConnection = 1004;
public const int OpeningPhysicalConnection = 1110;
public const int OpenedPhysicalConnection = 1111;
public const int ClosingPhysicalConnection = 1112;
public const int ClosedPhysicalConnection = 1113;
public const int StartingWait = 1300;
public const int ReceivedNotice = 1301;
public const int ConnectionExceededMaximumLifetime = 1500;
public const int SendingKeepalive = 1600;
public const int CompletedKeepalive = 1601;
public const int KeepaliveFailed = 1602;
public const int BreakingConnection = 1900;
public const int CaughtUserExceptionInNoticeEventHandler = 1901;
public const int CaughtUserExceptionInNotificationEventHandler = 1902;
public const int ExceptionWhenClosingPhysicalConnection = 1903;
public const int ExceptionWhenOpeningConnectionForMultiplexing = 1904; // Multiplexing has been removed
#endregion Connection
#region Command
public const int ExecutingCommand = 2000;
public const int CommandExecutionCompleted = 2001;
public const int CancellingCommand = 2002;
public const int ExecutingInternalCommand = 2003;
public const int PreparingCommandExplicitly = 2100;
public const int CommandPreparedExplicitly = 2101;
public const int AutoPreparingStatement = 2102;
public const int UnpreparingCommand = 2103;
public const int DerivingParameters = 2500;
public const int ExceptionWhenWritingMultiplexedCommands = 2600; // Multiplexing has been removed
#endregion Command
#region Transaction
public const int StartedTransaction = 30000;
public const int CommittedTransaction = 30001;
public const int RolledBackTransaction = 30002;
public const int CreatingSavepoint = 30100;
public const int RolledBackToSavepoint = 30101;
public const int ReleasedSavepoint = 30102;
public const int ExceptionDuringTransactionDispose = 30200;
public const int EnlistedVolatileResourceManager = 31000;
public const int CommittingSinglePhaseTransaction = 31001;
public const int RollingBackSinglePhaseTransaction = 31002;
public const int SinglePhaseTransactionRollbackFailed = 31003;
public const int PreparingTwoPhaseTransaction = 31004;
public const int CommittingTwoPhaseTransaction = 31005;
public const int TwoPhaseTransactionCommitFailed = 31006;
public const int RollingBackTwoPhaseTransaction = 31007;
public const int TwoPhaseTransactionRollbackFailed = 31008;
public const int TwoPhaseTransactionInDoubt = 31009;
public const int ConnectionInUseWhenRollingBack = 31010;
public const int CleaningUpResourceManager = 31011;
#endregion Transaction
#region Copy
public const int StartingBinaryExport = 40000;
public const int StartingBinaryImport = 40001;
public const int StartingTextExport = 40002;
public const int StartingTextImport = 40003;
public const int StartingRawCopy = 40004;
public const int CopyOperationCompleted = 40100;
public const int CopyOperationCancelled = 40101;
public const int ExceptionWhenDisposingCopyOperation = 40102;
#endregion Copy
#region Replication
public const int CreatingReplicationSlot = 50000;
public const int DroppingReplicationSlot = 50001;
public const int StartingLogicalReplication = 50002;
public const int StartingPhysicalReplication = 50003;
public const int ExecutingReplicationCommand = 50004;
public const int ReceivedReplicationPrimaryKeepalive = 50100;
public const int SendingReplicationStandbyStatusUpdate = 50101;
public const int SentReplicationFeedbackMessage = 50102;
public const int ReplicationFeedbackMessageSendingFailed = 50103;
#endregion Replication
}