Skip to content

Commit ffef68d

Browse files
committed
Do not use feature added in PG 17
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
1 parent a4addea commit ffef68d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

database/migrations/functions/jobboard/search_jobs.sql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,7 @@ begin
166166
where project_id = any(
167167
select project_id
168168
from project p
169-
join json_table((p_filters->'projects'), '$[*]' columns (
170-
foundation text path '$.foundation',
171-
name text path '$.name'
172-
)) fp
169+
join jsonb_to_recordset(p_filters->'projects') as fp(foundation text, name text)
173170
on p.foundation = fp.foundation and p.name = fp.name
174171
)
175172
)

0 commit comments

Comments
 (0)