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
I am using PostgreSQL read models and discovered an issue with the column names.
STR
I created all tables with double-quoted values for table and column names using FluentMigrator (this is the default FluentMigrator PostgreSQl configuration).
I registered PostgreSql readModels using ConfigurePostgreSql and UsePostgreSqlReadModel
I added [PostgreSqlReadModelIdentityColumn] attribute to ReadModel's property Id
AR
When working with read models I am receiving an error from PostgreSQL that column id does not exists
ER
Should work well with such configuration by default OR should be configured by registering custom ReadModelSqlGenerator:
sql=$"UPDATE {tableName} SET {updateColumns} WHERE {Configuration.ColumnQuotedIdentifierPrefix}{identityColumn}{Configuration.ColumnQuotedIdentifierSuffix} = @{identityColumn}{versionCheck}";
.
Also, there is a question, why columnQuotedIdentifierPrefix: "\"" and columnQuotedIdentifierSuffix: "\"" - not used by default for PostgreSql configuration?
The text was updated successfully, but these errors were encountered:
We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days.
We consider this issue to be stale and will be closing it within the next seven days.
If you still require assistance with this issue, please feel free to reopen it or create a new issue.
Hi!
I am using PostgreSQL read models and discovered an issue with the column names.
STR
ConfigurePostgreSql
andUsePostgreSqlReadModel
[PostgreSqlReadModelIdentityColumn]
attribute to ReadModel's propertyId
AR
When working with read models I am receiving an error from PostgreSQL that column
id
does not existsER
Should work well with such configuration by default OR should be configured by registering custom
ReadModelSqlGenerator
:But even registration of this custom
ReadModelSqlGenerator
does not help, because probably there is a bug in ReadModelSqlGenerator.EventFlow/Source/EventFlow.Sql/ReadModels/ReadModelSqlGenerator.cs
Line 105 in cf4287b
EventFlow/Source/EventFlow.Sql/ReadModels/ReadModelSqlGenerator.cs
Line 149 in cf4287b
Also, there is a question, why
columnQuotedIdentifierPrefix: "\""
andcolumnQuotedIdentifierSuffix: "\""
- not used by default for PostgreSql configuration?The text was updated successfully, but these errors were encountered: