I have a query like this(which works in Oracle properly):
...
LEFT JOIN myTable ON ....
START WITH orgNodeId IN (
SELECT someColumn FROM anothertable
WHERE ...
)
CONNECT BY PRIOR .. = ....
)
...
but in posgres it doesn't work and I see error:
ERROR: syntax error at or near "START"
Position: 282
Looks like my postgres doesn't now such syntax.
Based on https://stackoverflow.com/a/17935842/2674303 I ran:
CREATE EXTENSION tablefunc;
But it disn't help.
What could ve wrong ?
postgres version is 11.6
How to fix it ?