Skip to content

Feature: VIRTUAL generated column support for PostgreSQL >= 18 #12807

Description

@Cprakhar

Feature Description

Current TypeORM doesn't support VIRTUAL generated columns for PostgreSQL (introduced in v18)

The Solution

Need to update the PostgresSqlQueryRunner for DDL definitions and checks for database version >= 18

Considered Alternatives

N/A

Additional Context

No response

Relevant Database Driver(s)

  • aurora-mysql
  • aurora-postgres
  • better-sqlite3
  • capacitor
  • cockroachdb
  • cordova
  • expo
  • mongodb
  • mysql
  • nativescript
  • oracle
  • postgres
  • react-native
  • sap
  • spanner
  • sqlite
  • sqljs
  • sqlserver

Are you willing to resolve this issue by submitting a Pull Request?

Yes, I have the time, and I know how to start.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions