LoginLink.Connectors.Database.Postgresql
0.2.0
dotnet add package LoginLink.Connectors.Database.Postgresql --version 0.2.0
NuGet\Install-Package LoginLink.Connectors.Database.Postgresql -Version 0.2.0
<PackageReference Include="LoginLink.Connectors.Database.Postgresql" Version="0.2.0" />
<PackageVersion Include="LoginLink.Connectors.Database.Postgresql" Version="0.2.0" />
<PackageReference Include="LoginLink.Connectors.Database.Postgresql" />
paket add LoginLink.Connectors.Database.Postgresql --version 0.2.0
#r "nuget: LoginLink.Connectors.Database.Postgresql, 0.2.0"
#:package LoginLink.Connectors.Database.Postgresql@0.2.0
#addin nuget:?package=LoginLink.Connectors.Database.Postgresql&version=0.2.0
#tool nuget:?package=LoginLink.Connectors.Database.Postgresql&version=0.2.0
LoginLink.Connectors.Database.Postgresql
True BYO-DB PostgreSQL storage backend for LoginLink.
A tenant admin points their tenant at a PostgreSQL server they own and operate — Neon, Aiven, RDS, Azure Database for PostgreSQL, Supabase, or a self-hosted instance. LoginLink never provisions, installs, or hosts the database itself; it only validates and uses a connection string the tenant supplies. SQLite remains the permanent, always-available default — this connector is an additive option, never a replacement.
Scope
Originally Tenant-scope only under LOCK-50 ("host.db/platform.db are
permanently SQLite"). Superseded (2026-09-17): Host and Platform scope are
both now supported too, so the control plane itself can run directly on
Postgres — a fresh /setup install, or a later migration via
PlatformScopeMigrationService.
Registration
builder.Services.AddPostgresqlStorage();
// In the ConnectorRegistry factory:
var postgres = sp.GetRequiredService<PostgresqlDatabaseConnector>();
r.Register((IDatabaseConnector)postgres);
r.RegisterSchemaProvisioner(postgres.Name, sp.GetRequiredService<PostgresqlSchemaProvisioner>());
Connection details
Read per-tenant via ITenantStorageCredentialsReader, never from
appsettings.json — each tenant's own host/port/database/username/password/SSL
mode are stored (encrypted) in platform.db.tenant_storage_credentials.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Dapper (>= 2.1.35)
- LoginLink.Abstractions (>= 1.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Npgsql (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.