Appearance
PostgreSQL
Verified anchorsInfrastructure interpretation
File-level companion page: PostgreSQL Source Map
Verified anchors
NGB.PostgreSql/NGB.PostgreSql.csprojNGB.PostgreSql/Reporting/PostgresReportDatasetCatalog.csNGB.PostgreSql/Reporting/IPostgresReportDatasetSource.csNGB.PostgreSql/Reporting/PostgresReportSqlBuilder.csNGB.PostgreSql/Reporting/PostgresReportDatasetExecutor.cs
What is directly visible
Infrastructure role
NGB.PostgreSql.csproj confirms the PostgreSQL provider owns concrete storage concerns:
- Dapper
- Npgsql
- Evolve
- persistence/application abstractions
- embedded SQL migrations
Reporting dataset registration
PostgresReportDatasetCatalog.cs and IPostgresReportDatasetSource.cs show the provider supports dataset-source registration.
SQL generation and execution
PostgresReportSqlBuilder.cs and PostgresReportDatasetExecutor.cs show a clean split between:
- logical-plan-to-SQL building
- SQL execution/materialization
What this means architecturally
NGB.PostgreSql is not just a repository bucket. It is the infrastructure realization of several platform capabilities:
- readers/writers
- migrations
- SQL-backed reporting execution
- performance-oriented data access
Extension points that are now verified
For composable reporting, a new PostgreSQL-backed dataset path clearly involves:
- implementing an
IPostgresReportDatasetSource - returning one or more
PostgresReportDatasetBinding - letting the dataset catalog pick it up
- relying on SQL builder + dataset executor for execution
That is one of the most important verified extension patterns in the current docs set.