summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTom Lane2000-10-24 01:38:44 +0000
committerTom Lane2000-10-24 01:38:44 +0000
commit4f44aa04b53f26d3abbf64beb0c1b3d10be324a3 (patch)
treef32ad3b8c4819e87ac1fdcbe296b60880da55b56 /src/test
parentd7186cfa9b0807deb5c4f31975a4269efa0905cf (diff)
Major overhaul of large-object implementation, by Denis Perchine with
kibitzing from Tom Lane. Large objects are now all stored in a single system relation "pg_largeobject" --- no more xinv or xinx files, no more relkind 'l'. This should offer substantial performance improvement for large numbers of LOs, since there won't be directory bloat anymore. It'll also fix problems like running out of locktable space when you access thousands of LOs in one transaction. Also clean up cruft in read/write routines. LOs with "holes" in them (never-written byte ranges) now work just like Unix files with holes do: a hole reads as zeroes but doesn't occupy storage space. INITDB forced!
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/opr_sanity.out4
-rw-r--r--src/test/regress/expected/sanity_check.out3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/test/regress/expected/opr_sanity.out b/src/test/regress/expected/opr_sanity.out
index f5d2427cfa1..9fd96b22803 100644
--- a/src/test/regress/expected/opr_sanity.out
+++ b/src/test/regress/expected/opr_sanity.out
@@ -482,8 +482,8 @@ WHERE p1.aggtransfn = p2.oid AND
(p2.pronargs = 1 AND p1.aggbasetype = 0)));
oid | aggname | oid | proname
-------+---------+-----+-------------
- 16984 | max | 768 | int4larger
- 16998 | min | 769 | int4smaller
+ 16996 | max | 768 | int4larger
+ 17010 | min | 769 | int4smaller
(2 rows)
-- Cross-check finalfn (if present) against its entry in pg_proc.
diff --git a/src/test/regress/expected/sanity_check.out b/src/test/regress/expected/sanity_check.out
index 823d9e142db..f2412386d17 100644
--- a/src/test/regress/expected/sanity_check.out
+++ b/src/test/regress/expected/sanity_check.out
@@ -40,6 +40,7 @@ SELECT relname, relhasindex
pg_index | t
pg_inherits | t
pg_language | t
+ pg_largeobject | t
pg_listener | t
pg_opclass | t
pg_operator | t
@@ -54,5 +55,5 @@ SELECT relname, relhasindex
shighway | t
tenk1 | t
tenk2 | t
-(44 rows)
+(45 rows)