| От | Michael Fuhr |
|---|---|
| Тема | Re: checksumming data |
| Дата | |
| Msg-id | 20050104154811.GA91445@winnie.fuhr.org обсуждение |
| Ответ на | Re: checksumming data (Can Burak Cilingir <canburak@cs.bilgi.edu.tr>) |
| Список | pgsql-novice |
On Tue, Jan 04, 2005 at 10:26:26AM +0200, Can Burak Cilingir wrote: > the need for md5summing by the help of database is just curiosity. I am > summing before insert which was enough already. The digest() function in contrib/pgcrypto takes a BYTEA or TEXT argument, which presumably means you'd have to read the entire file into memory (or can it be mmap()'ed? I'm not sure). For large data this isn't practical, so you might want to look for something that can build the hash in blocks. See the pgcrypto source code for examples. -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера