diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-10-24 01:38:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-10-24 01:38:44 +0000 |
commit | 4f44aa04b53f26d3abbf64beb0c1b3d10be324a3 (patch) | |
tree | f32ad3b8c4819e87ac1fdcbe296b60880da55b56 /src/interfaces | |
parent | d7186cfa9b0807deb5c4f31975a4269efa0905cf (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/interfaces')
-rw-r--r-- | src/interfaces/odbc/info.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/odbc/info.c b/src/interfaces/odbc/info.c index 9c99a120adf..9d4e75a9e0a 100644 --- a/src/interfaces/odbc/info.c +++ b/src/interfaces/odbc/info.c @@ -1007,8 +1007,7 @@ mylog("%s: entering...stmt=%u\n", func, stmt); } - /* filter out large objects unconditionally (they are not system tables) and match users */ - strcat(tables_query, " and relname !~ '^xinv[0-9]+'"); + /* match users */ strcat(tables_query, " and usesysid = relowner"); strcat(tables_query, " order by relname"); |