Re: large object regression tests

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: large object regression tests
Дата
Msg-id 45015E6C.2090907@logix-tt.com
обсуждение исходный текст
Ответ на large object regression tests  (Jeremy Drake <jeremyd@jdrake.com>)
Список pgsql-hackers
Hi, Jeremy,
Jeremy Drake wrote:

> I am considering, and I think that in order to get a real test of the
> large objects, I would need to load data into a large object which would
> be sufficient to be loaded into more than one block (large object blocks
> were 1 or 2K IIRC) so that the block boundary case could be tested.  Is
> there any precedent on where to grab such a large chunk of data from?

You could generate such data on the fly, as part of the test scripts.

E. G. a blob of zero bytes, blob of 0xff bytes, a blob of pseudo random
data...

Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Fixed length data types issue
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fixed length data types issue