Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EF parameters removed in 8.0 #381

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions conceptual/Npgsql/connection-string-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,8 @@ Search Path | Sets the schema search path.
Client Encoding | Gets or sets the client_encoding parameter. | PGCLIENTENCODING, UTF8
Encoding | Gets or sets the .NET encoding that will be used to encode/decode PostgreSQL string data. | UTF8
Timezone | Gets or sets the session timezone. | PGTZ
EF Template Database | The database template to specify when creating a database in Entity Framework. | template1
EF Admin Database | The database admin to specify when creating and dropping a database in Entity Framework. | template1
Load Table Composites | Load table composite type definitions, and not just free-standing composite types. | false
Array Nullability Mode | Configure the way arrays of value types are returned when requested as object instances. Possible values are: `Never` (arrays of value types are always returned as non-nullable arrays), `Always` (arrays of value types are always returned as nullable arrays) and `PerInstance` (the type of array that gets returned is determined at runtime). | Never
Array Nullability Mode | Configure the way arrays of value types are returned when requested as object instances. Possible values are: `Never` (arrays of value types are always returned as non-nullable arrays), `Always` (arrays of value types are always returned as nullable arrays) and `PerInstance` (the type of array that gets returned is determined at runtime). | Never

<sup id="misc_sup_1">1</sup>The `Options` connection string parameter is essentially the string of command line options that get passed to the [`postgres`](https://www.postgresql.org/docs/current/app-postgres.html) program when the process is started.
It is most commonly used to set named run-time parameters via the `-c` option but other options can be used too (although not all of them make sense in that context).
Expand All @@ -106,11 +104,13 @@ Parameter | Description
------------------------- | ------------------------------------------------------------------------------------------------- | -------
Server Compatibility Mode | A compatibility mode for special PostgreSQL server types. Currently "Redshift" is supported, as well as "NoTypeLoading", which will bypass the normal type loading mechanism from the PostgreSQL catalog tables and supports a hardcoded list of basic types. | none

## Obsolete
## Obsolete/removed

Parameter | Description | Default
------------------------- | ------------------------------------------------------------------------------------------------------------------- | -------
Internal Command Timeout | The time to wait (in seconds) while trying to execute an internal command before terminating the attempt and generating an error. -1 uses CommandTimeout, 0 means no timeout. | -1
EF Template Database | The database template to specify when creating a database in non-core Entity Framework. Removed in 8.0. | template1
EF Admin Database | The database admin to specify when creating and dropping a database in non-core Entity Framework. Removed in 8.0. | template1

## Environment variables

Expand Down