diff --git a/dg.Sql.Connector.PostgreSQL/PostgreSQLConnector.cs b/dg.Sql.Connector.PostgreSQL/PostgreSQLConnector.cs index 47f3a314..7918da40 100644 --- a/dg.Sql.Connector.PostgreSQL/PostgreSQLConnector.cs +++ b/dg.Sql.Connector.PostgreSQL/PostgreSQLConnector.cs @@ -389,10 +389,11 @@ public override string EscapeString(string Value) } } - public virtual string PrepareValue(bool Value) + public override string PrepareValue(bool Value) { return Value ? @"TRUE" : @"FALSE"; } + public override string PrepareValue(Guid Value) { return '\'' + Value.ToString(@"D") + '\'';