You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm receiving an Npgsql.PostgresException with error code 42703, indicating that the column "Message" does not exist in the PostgreSQL database. This error occurs when trying to fetch logs using Serilog.Ui.PostgreSqlProvider. The error suggests that the query might be referencing "Message" instead of "message" or another case-sensitive variant.
To Reproduce
Steps to reproduce the behavior:
Set up Serilog with Serilog.Ui.PostgreSqlProvider in a PostgreSQL database where logs are stored.
Click on '....'
Observe the error message about the missing "Message" column.
Expected behavior
The logs should be retrieved successfully without a case-sensitive column mismatch.
Error Message Npgsql.PostgresException (0x80004005): 42703: column "Message" does not exist Position: 8 at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) ... Exception data: Severity: ERROR SqlState: 42703 MessageText: column "Message" does not exist Hint: Perhaps you meant to reference the column "logs.message". Position: 8 File: parse_relation.c Line: 3738 Routine: errorMissingColumn
Desktop (please complete the following information):
OS: [e.g., Windows 11]
Browser [e.g., Chrome]
Version [e.g., 92]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm receiving an Npgsql.PostgresException with error code 42703, indicating that the column "Message" does not exist in the PostgreSQL database. This error occurs when trying to fetch logs using Serilog.Ui.PostgreSqlProvider. The error suggests that the query might be referencing "Message" instead of "message" or another case-sensitive variant.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The logs should be retrieved successfully without a case-sensitive column mismatch.
Error Message
Npgsql.PostgresException (0x80004005): 42703: column "Message" does not exist Position: 8 at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder
1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) ... Exception data: Severity: ERROR SqlState: 42703 MessageText: column "Message" does not exist Hint: Perhaps you meant to reference the column "logs.message". Position: 8 File: parse_relation.c Line: 3738 Routine: errorMissingColumn
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: