Re: large object regression tests - Mailing list pgsql-hackers

From Markus Schaber
Subject Re: large object regression tests
Date
Msg-id 45015E6C.2090907@logix-tt.com
Whole thread Raw
In response to large object regression tests  (Jeremy Drake <jeremyd@jdrake.com>)
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Fixed length data types issue
Next
From: Peter Eisentraut
Date:
Subject: Re: Fixed length data types issue