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: packages/transform/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,15 @@
14
14
15
15
`@pgsql/transform` is a TypeScript library for transforming PostgreSQL ASTs between different PostgreSQL versions. It serves as a crucial component for building a single source of truth deparser that can handle SQL from multiple PostgreSQL versions while maintaining backward compatibility.
16
16
17
-
## 🎯 Core Purpose
17
+
## Transforming ASTs Between PG Versions
18
18
19
19
The transform package enables you to:
20
20
21
21
-**Transform legacy ASTs**: Convert ASTs from PostgreSQL versions 13-16 to version 17
22
22
-**Build unified deparsers**: Create a single deparser pipeline that works with multiple PostgreSQL versions
23
23
-**Maintain backward compatibility**: Support legacy codebases while leveraging the latest PostgreSQL features
24
24
25
-
## ⚠️ Key Limitation
25
+
## Key Limitation
26
26
27
27
This package only supports ASTs derived from SQL that is parseable by PostgreSQL 17. This means:
28
28
@@ -32,7 +32,7 @@ This package only supports ASTs derived from SQL that is parseable by PostgreSQL
32
32
33
33
This design ensures all transformed ASTs can be reliably deparsed using the latest PostgreSQL grammar.
0 commit comments