Get file size

From: "Lukas" <lukas(at)fmf(dot)vgtu(dot)lt>
To: pgsql-novice(at)postgresql(dot)org
Subject: Get file size
Date: 2012-09-04 19:09:42
Message-ID: 6e69be765dcd9d6266aad70ef002a7ab.squirrel@fmf.vtu.lt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

maybe someone can give an idea how I cat get sizes of file which location
is know?
Lets say I have table with 200k records, in every record one column
indicates full file path on server for ex. "c:\temp\test.txt" etc. and I
want to fill that table with file sizes..
I was looking for function in plpgsql or plpgper languages, but I did not
found anything what could help me..

Lukas

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Lukas 2012-09-04 19:39:58 Get file size
Previous Message lsq 2012-08-29 22:16:59 Re: using index "pg_toast_..." despite IgnoreSystemIndexes