Skip to content

Commit 5fa2c06

Browse files
fix: add pg_collation_for and collation_for to sqlSyntaxFunctions for COERCE_SQL_SYNTAX funcformat
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 49b9772 commit 5fa2c06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,8 @@ export class V13ToV14Transformer {
932932
'position', 'overlay',
933933
'extract', 'timezone', 'xmlexists',
934934
'current_date', 'current_time', 'current_timestamp',
935-
'localtime', 'localtimestamp', 'overlaps'
935+
'localtime', 'localtimestamp', 'overlaps',
936+
'pg_collation_for', 'collation_for'
936937
];
937938

938939
if (explicitCallFunctions.includes(funcname.toLowerCase())) {

0 commit comments

Comments
 (0)