yamt(at)mwd(dot)biglobe(dot)ne(dot)jp (YAMAMOTO Takashi) writes:
> the attached patch is to avoid unnecessary detoast'ing and EOF marker pages
> when possible. does it make sense?
The blob page size is already chosen not to allow for out-of-line
storage, not to mention that pg_largeobject doesn't have a TOAST table.
So I think avoiding detoasting is largely a waste of time. I'm
unexcited about the other consideration too --- it looks to me like it
just makes truncation slower, more complicated, and hence more
bug-prone, in return for a possible speedup that probably nobody will
ever notice.
regards, tom lane
In response to
Responses
pgsql-novice by date
| Next: | From: matty jones | Date: 2011-02-01 00:54:27 |
| Subject: Primary keys in a single column table and text vs varchar |
| Previous: | From: YAMAMOTO Takashi | Date: 2011-01-31 23:39:24 |
| Subject: Re: [NOVICE] systable_getnext_ordered |
pgsql-hackers by date
| Next: | From: Simon Riggs | Date: 2011-02-01 00:09:05 |
| Subject: Re: Error code for "terminating connection due to
conflict with recovery" |
| Previous: | From: Kevin Grittner | Date: 2011-01-31 23:55:04 |
| Subject: Re: SSI patch version 14 |