@@ -161,6 +161,7 @@ static NpgsqlTypeMappingSource()
161161 private readonly NpgsqlHstoreTypeMapping _hstore = new ( typeof ( Dictionary < string , string > ) ) ;
162162 private readonly NpgsqlHstoreTypeMapping _immutableHstore = new ( typeof ( ImmutableDictionary < string , string > ) ) ;
163163 private readonly NpgsqlTidTypeMapping _tid = new ( ) ;
164+ private readonly NpgsqlPgLsnTypeMapping _pgLsn = new ( ) ;
164165
165166 private readonly NpgsqlLTreeTypeMapping _ltree = new ( ) ;
166167 private readonly NpgsqlStringTypeMapping _ltreeString = new ( "ltree" , NpgsqlDbType . LTree ) ;
@@ -296,6 +297,7 @@ public NpgsqlTypeMappingSource(TypeMappingSourceDependencies dependencies,
296297 { "regtype" , new [ ] { _regtype } } ,
297298 { "lo" , new [ ] { _lo } } ,
298299 { "tid" , new [ ] { _tid } } ,
300+ { "pg_lsn" , new [ ] { _pgLsn } } ,
299301
300302 { "int4range" , new [ ] { _int4range } } ,
301303 { "int8range" , new [ ] { _int8range } } ,
@@ -363,6 +365,7 @@ public NpgsqlTypeMappingSource(TypeMappingSourceDependencies dependencies,
363365 { typeof ( ImmutableDictionary < string , string > ) , _immutableHstore } ,
364366 { typeof ( Dictionary < string , string > ) , _hstore } ,
365367 { typeof ( NpgsqlTid ) , _tid } ,
368+ { typeof ( NpgsqlLogSequenceNumber ) , _pgLsn } ,
366369
367370 { typeof ( NpgsqlPoint ) , _point } ,
368371 { typeof ( NpgsqlBox ) , _box } ,
0 commit comments