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
Copy file name to clipboardExpand all lines: src/Npgsql/NpgsqlConnectionStringBuilder.cs
-160Lines changed: 0 additions & 160 deletions
Original file line number
Diff line number
Diff line change
@@ -1393,166 +1393,6 @@ public ServerCompatibilityMode ServerCompatibilityMode
1393
1393
1394
1394
#region Properties - Obsolete
1395
1395
1396
-
/// <summary>
1397
-
/// Whether to use Windows integrated security to log in.
1398
-
/// </summary>
1399
-
[Category("Security")]
1400
-
[Description("Whether to use Windows integrated security to log in.")]
1401
-
[DisplayName("Integrated Security")]
1402
-
[NpgsqlConnectionStringProperty]
1403
-
[Obsolete("The IntegratedSecurity parameter is no longer needed and does nothing.")]
1404
-
publicboolIntegratedSecurity
1405
-
{
1406
-
get=>_integratedSecurity;
1407
-
set
1408
-
{
1409
-
_integratedSecurity=value;
1410
-
SetValue(nameof(IntegratedSecurity),value);
1411
-
}
1412
-
}
1413
-
bool_integratedSecurity;
1414
-
1415
-
/// <summary>
1416
-
/// Obsolete, see https://www.npgsql.org/doc/release-notes/6.0.html
1417
-
/// </summary>
1418
-
[Category("Compatibility")]
1419
-
[Description("Makes MaxValue and MinValue timestamps and dates readable as infinity and negative infinity.")]
1420
-
[DisplayName("Convert Infinity DateTime")]
1421
-
[NpgsqlConnectionStringProperty]
1422
-
[Obsolete("The ConvertInfinityDateTime parameter is no longer supported.")]
1423
-
publicboolConvertInfinityDateTime
1424
-
{
1425
-
get=>false;
1426
-
set=>thrownewNotSupportedException("The Convert Infinity DateTime parameter is no longer supported; Npgsql 6.0 and above convert min/max values to Infinity by default. See https://www.npgsql.org/doc/types/datetime.html for more details.");
1427
-
}
1428
-
1429
-
/// <summary>
1430
-
/// Obsolete, see https://www.npgsql.org/doc/release-notes/3.1.html
1431
-
/// </summary>
1432
-
[Category("Obsolete")]
1433
-
[Description("Obsolete, see https://www.npgsql.org/doc/release-notes/3.1.html")]
1434
-
[DisplayName("Continuous Processing")]
1435
-
[NpgsqlConnectionStringProperty]
1436
-
[Obsolete("The ContinuousProcessing parameter is no longer supported.")]
1437
-
publicboolContinuousProcessing
1438
-
{
1439
-
get=>false;
1440
-
set=>thrownewNotSupportedException("The ContinuousProcessing parameter is no longer supported. Please see https://www.npgsql.org/doc/release-notes/3.1.html");
1441
-
}
1442
-
1443
-
/// <summary>
1444
-
/// Obsolete, see https://www.npgsql.org/doc/release-notes/3.1.html
1445
-
/// </summary>
1446
-
[Category("Obsolete")]
1447
-
[Description("Obsolete, see https://www.npgsql.org/doc/release-notes/3.1.html")]
1448
-
[DisplayName("Backend Timeouts")]
1449
-
[NpgsqlConnectionStringProperty]
1450
-
[Obsolete("The BackendTimeouts parameter is no longer supported")]
1451
-
publicboolBackendTimeouts
1452
-
{
1453
-
get=>false;
1454
-
set=>thrownewNotSupportedException("The BackendTimeouts parameter is no longer supported. Please see https://www.npgsql.org/doc/release-notes/3.1.html");
1455
-
}
1456
-
1457
-
/// <summary>
1458
-
/// Obsolete, see https://www.npgsql.org/doc/release-notes/3.0.html
1459
-
/// </summary>
1460
-
[Category("Obsolete")]
1461
-
[Description("Obsolete, see https://www.npgsql.org/doc/v/3.0.html")]
1462
-
[DisplayName("Preload Reader")]
1463
-
[NpgsqlConnectionStringProperty]
1464
-
[Obsolete("The PreloadReader parameter is no longer supported")]
1465
-
publicboolPreloadReader
1466
-
{
1467
-
get=>false;
1468
-
set=>thrownewNotSupportedException("The PreloadReader parameter is no longer supported. Please see https://www.npgsql.org/doc/release-notes/3.0.html");
1469
-
}
1470
-
1471
-
/// <summary>
1472
-
/// Obsolete, see https://www.npgsql.org/doc/release-notes/3.0.html
1473
-
/// </summary>
1474
-
[Category("Obsolete")]
1475
-
[Description("Obsolete, see https://www.npgsql.org/doc/release-notes/3.0.html")]
1476
-
[DisplayName("Use Extended Types")]
1477
-
[NpgsqlConnectionStringProperty]
1478
-
[Obsolete("The UseExtendedTypes parameter is no longer supported")]
1479
-
publicboolUseExtendedTypes
1480
-
{
1481
-
get=>false;
1482
-
set=>thrownewNotSupportedException("The UseExtendedTypes parameter is no longer supported. Please see https://www.npgsql.org/doc/release-notes/3.0.html");
1483
-
}
1484
-
1485
-
/// <summary>
1486
-
/// Obsolete, see https://www.npgsql.org/doc/release-notes/4.1.html
1487
-
/// </summary>
1488
-
[Category("Obsolete")]
1489
-
[Description("Obsolete, see https://www.npgsql.org/doc/release-notes/4.1.html")]
1490
-
[DisplayName("Use Ssl Stream")]
1491
-
[NpgsqlConnectionStringProperty]
1492
-
[Obsolete("The UseSslStream parameter is no longer supported (always true)")]
1493
-
publicboolUseSslStream
1494
-
{
1495
-
get=>true;
1496
-
set=>thrownewNotSupportedException("The UseSslStream parameter is no longer supported (SslStream is always used). Please see https://www.npgsql.org/doc/release-notes/4.1.html");
1497
-
}
1498
-
1499
-
/// <summary>
1500
-
/// Writes connection performance information to performance counters.
1501
-
/// </summary>
1502
-
[Category("Obsolete")]
1503
-
[Description("Writes connection performance information to performance counters.")]
1504
-
[DisplayName("Use Perf Counters")]
1505
-
[NpgsqlConnectionStringProperty]
1506
-
[Obsolete("The UsePerfCounters parameter is no longer supported")]
1507
-
publicboolUsePerfCounters
1508
-
{
1509
-
get=>false;
1510
-
set=>thrownewNotSupportedException("The UsePerfCounters parameter is no longer supported. Please see https://www.npgsql.org/doc/release-notes/5.0.html");
1511
-
}
1512
-
1513
-
/// <summary>
1514
-
/// Location of a client certificate to be sent to the server.
1515
-
/// </summary>
1516
-
[Category("Obsolete")]
1517
-
[Description("Location of a client certificate to be sent to the server.")]
/// When enabled, PostgreSQL error details are included on <see cref="PostgresException.Detail" /> and
1543
-
/// <see cref="PostgresNotice.Detail" />. These can contain sensitive data.
1544
-
/// </summary>
1545
-
[Category("Obsolete")]
1546
-
[Description("When enabled, PostgreSQL error and notice details are included on PostgresException.Detail and PostgresNotice.Detail. These can contain sensitive data.")]
Copy file name to clipboardExpand all lines: src/Npgsql/NpgsqlLargeObjectManager.cs
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
usingNpgsql.Util;
1
+
usingSystem;
2
+
usingNpgsql.Util;
2
3
usingSystem.Data;
3
4
usingSystem.Text;
4
5
usingSystem.Threading;
@@ -9,6 +10,7 @@ namespace Npgsql;
9
10
/// <summary>
10
11
/// Large object manager. This class can be used to store very large files in a PostgreSQL database.
11
12
/// </summary>
13
+
[Obsolete("NpgsqlLargeObjectManager allows manipulating PostgreSQL large objects via publicly available PostgreSQL functions (lo_read, lo_write); call these yourself directly.")]
Copy file name to clipboardExpand all lines: src/Npgsql/NpgsqlLargeObjectStream.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ namespace Npgsql;
10
10
/// An interface to remotely control the seekable stream for an opened large object on a PostgreSQL server.
11
11
/// Note that the OpenRead/OpenReadWrite method as well as all operations performed on this stream must be wrapped inside a database transaction.
12
12
/// </summary>
13
+
[Obsolete("NpgsqlLargeObjectStream allows manipulating PostgreSQL large objects via publicly available PostgreSQL functions (lo_read, lo_write); call these yourself directly.")]
Copy file name to clipboardExpand all lines: src/Npgsql/NpgsqlTypes/NpgsqlTsQuery.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,7 @@ public override string ToString()
77
77
/// </summary>
78
78
/// <param name="value"></param>
79
79
/// <returns></returns>
80
+
[Obsolete("Client-side parsing of NpgsqlTsQuery is unreliable and cannot fully duplicate the PostgreSQL logic. Use PG functions instead (e.g. to_tsquery)")]
[Obsolete("Client-side parsing of NpgsqlTsVector is unreliable and cannot fully duplicate the PostgreSQL logic. Use PG functions instead (e.g. to_tsvector)")]
0 commit comments