Created
September 1, 2019 16:08
-
-
Save dlangille/3cac9530676e371a0919b17934cea81d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT P.path || FN.name as file, | |
F.lstat, | |
pg_size_pretty( base64_decode_lstat(8, lstat) ) as size | |
FROM job J, file F, filename FN, path P | |
WHERE J.jobid = 295603 | |
AND J.jobid = F.jobid | |
AND F.filenameid = FN.filenameid | |
AND F.pathid = P.pathid | |
ORDER BY 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment