Re: Get file size

Поиск
Список
Период
Сортировка
Искать
От
Alan Hodgson
Тема
Re: Get file size
Дата
Msg-id
4325951.i56NdfSE2T@skynet.simkin.ca
Ответ на
Список
Дерево обсуждения
Get file size "Lukas" <lukas@fmf.vgtu.lt>
Re: Get file size Alan Hodgson <ahodgson@simkin.ca>
Re: Get file size Josh Kupershmidt <schmiddy@gmail.com>
On Tuesday, September 04, 2012 10:09:42 PM Lukas wrote:
> 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..

This wouldn't be a good use for a database function. 

Write it in your favourite client language and connect to the database from 
there, where it can run with permissions appropriate to whatever file system 
it's reading.


В списке pgsql-novice по дате отправления
От: Lukas
Дата:
Сообщение: Get file size
От: Josh Kupershmidt
Дата:
Сообщение: Re: Get file size
FAQ