Skip to content

Commit 8cbcf5b

Browse files
authored
Update src/NHibernate/Dialect/Schema/PostgreSQLMetadata.cs
1 parent 2283df1 commit 8cbcf5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Dialect/Schema/PostgreSQLMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private static string NormalizeTypeNames(string typeName)
164164

165165
if (typeName.EndsWith(" with time zone", StringComparison.Ordinal))
166166
{
167-
return typeName.StartsWith("timestamp")
167+
return typeName.StartsWith("timestamp", StringComparison.Ordinal)
168168
? typeName.Replace(" with time zone", string.Empty).Replace("timestamp", "timestamptz")
169169
: typeName.Replace(" with time zone", string.Empty).Replace("time", "timetz");
170170
}

0 commit comments

Comments
 (0)