namespace Npgsql;

internal static class NpgsqlStrings
{
    public const string CannotReadInfinityValue = "Cannot read infinity value since Npgsql.DisableDateTimeInfinityConversions is enabled.";
    public const string CannotUseSslModeRequireWithoutTrustServerCertificate = "To validate server certificates, please use VerifyFull or VerifyCA instead of Require. To disable validation, explicitly set 'Trust Server Certificate' to true. See https://www.npgsql.org/doc/release-notes/6.0.html for more details.";
    public const string CannotUseSslRootCertificateWithUserCallback = "RootCertificate cannot be used in conjunction with UserCertificateValidationCallback; when registering a validation callback, perform whatever validation you require in that callback.";
    public const string CannotUseSslVerifyWithUserCallback = "SslMode.{0} cannot be used in conjunction with UserCertificateValidationCallback; when registering a validation callback, perform whatever validation you require in that callback.";
    public const string CannotUseTrustServerCertificate = "TrustServerCertificate=true is not supported with SslMode={0}";
}