| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Refactor and document the remaining mapping code.
|
| |
|
|
|
|
| |
New view pg_stat_bgwriter, and the functions required to build it.
|
|
|
|
|
|
|
| |
will be released by transaction abort before _bt_end_vacuum gets called.
If either of these "can't happen" errors actually happened, we'd freeze up
trying to acquire an already-held lock. Latest word is that this does
not explain Martin Pitt's trouble report, but it still looks like a bug.
|
|
|
|
|
|
|
| |
pg_valid_server_encoding() returns the same result if the encoding is
valid.
ITAGAKI Takahiro
|
| |
|
|
|
|
|
| |
required memory context when handling client-specified parameter types
for an unnamed statement. Per report from Kris Jurka.
|
|
|
|
|
|
|
| |
ecpglib supports it.
Change configure (patch from Bruce) and msvc build system to no longer require
pthreads on win32, since all parts of postgresql can be thread-safe using the
native platform functions.
|
|
|
|
|
| |
win32 threads.
- Fixed regression tests to run threading tests.
|
|
|
|
|
| |
--- Simon.
Also, code review and cleanup for the previous COPY-no-WAL patches --- Tom.
|
|
|
|
|
| |
properties of the "text" type, and then simplify the code accordingly.
Patch from Jeremy Drake.
|
|
|
|
|
|
|
|
|
|
|
| |
its table list and then rechecks pgstat before vacuuming each table to
verify that no one has vacuumed the table in the meantime.
In the current autovacuum world this only means that a worker will not
vacuum a table that a user has vacuumed manually after the worker started.
When support for multiple autovacuum workers is introduced, this will reduce
the probability of simultaneous workers on the same database doing redundant
work.
|
|
|
|
| |
ITAGAKI Takahiro
|
|
|
|
|
|
|
|
|
| |
seen by code inspecting the expression. The best way to do this seems
to be to drop the original representation as a function invocation, and
instead make a special expression node type that represents applying
the element-type coercion function to each array element. In this way
the element function is exposed and will be checked for volatility.
Per report from Guillaume Smet.
|
| |
|
|
|
|
|
| |
table entries to a separate routine. Don't pass the pgstat database entry to
do_autovacuum; rather, have it fetch it by itself.
|
|
|
|
| |
Marko Kreen
|
| |
|
| |
|
|
|
|
| |
instructions from Berkeley.
|
|
|
|
|
|
|
|
|
|
| |
A DBA is allowed to create a language in his database if it's marked
"tmpldbacreate" in pg_pltemplate. The factory default is that this is set
for all standard trusted languages, but of course a superuser may adjust
the settings. In service of this, add the long-foreseen owner column to
pg_language; renaming, dropping, and altering owner of a PL now follow
normal ownership rules instead of being superuser-only.
Jeremy Drake, with some editorialization by Tom Lane.
|
|
|
|
| |
and GB18030. patches from ITAGAKI Takahiro.
|
| |
|
|
|
|
|
|
| |
reset event, namely invalidate everything. This oversight probably
explains the rare failures that some buildfarm machines have been
showing for the plancache regression test.
|
|
|
|
|
|
| |
if possible. I had left this undone in the first pass at the API change
for ProcessUtility, but forgot to revisit it after the plancache changes
made it possible to do it.
|
|
|
|
|
|
|
|
|
| |
Vadim had included this restriction in the original design of the SPI code,
but I'm darned if I can see a reason for it.
I left the macro definition of SPI_ERROR_CURSOR in place, so as not to
needlessly break any SPI callers that are checking for it, but that code
will never actually be returned anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointer" in every Snapshot struct. This allows removal of the case-by-case
tests in HeapTupleSatisfiesVisibility, which should make it a bit faster
(I didn't try any performance tests though). More importantly, we are no
longer violating portable C practices by assuming that small integers are
distinct from all pointer values, and HeapTupleSatisfiesDirty no longer
has a non-reentrant API involving side-effects on a global variable.
There were a couple of places calling HeapTupleSatisfiesXXX routines
directly rather than through the HeapTupleSatisfiesVisibility macro.
Since these places had to be changed anyway, I chose to make them go
through the macro for uniformity.
Along the way I renamed HeapTupleSatisfiesSnapshot to HeapTupleSatisfiesMVCC
to emphasize that it's only used with MVCC-type snapshots. I was sorely
tempted to rename HeapTupleSatisfiesVisibility to HeapTupleSatisfiesSnapshot,
but forebore for the moment to avoid confusion and reduce the likelihood that
this patch breaks some of the pending patches. Might want to reconsider
doing that later.
|
|
|
|
|
| |
along with new conversions among EUC_JIS_2004, SHIFT_JIS_2004 and UTF-8.
catalog version has been bump up.
|
|
|
|
| |
from gnuwin32.
|
| |
|
|
|
|
| |
way as their directory (notably xml2/pgxml and intarray/_int)
|
| |
|
|
|
|
| |
exactly the same, modulo whitespace.
|
| |
|
|
|
|
| |
simpler.
|
|
|
|
|
|
|
|
|
|
| |
to the left of the actual bool value. While in most cases there won't be
any, our support for old-style user-defined functions violates the C spec
to the extent of calling functions that might return char or short through
a function pointer declared to return "char *", which we then coerce to
Datum. It is not surprising that the result might contain garbage
high-order bits ... what is surprising is that we didn't see such cases
long ago. Per report from Magnus.
|
|
|
|
|
|
|
|
|
| |
search_path that was active when the plan was first made. To do this,
improve namespace.c to support a stack of "override" search path settings
(we must have a stack since nested replan events are entirely possible).
This facility replaces the "special namespace" hack formerly used by
CREATE SCHEMA, and should be able to support per-function search path
settings as well.
|
|
|
|
| |
This is necessary to support JIS X 0213 <--> UTF-8 conversion.
|
| |
|
| |
|
| |
|
|
|
|
| |
stripped down version of libpq. To be used by the installer.
|
|
|
|
|
| |
Also remove headers for old sysv semaphore emulation that were forgotten
when that was changed about a year ago.
|
| |
|
|
|
|
| |
Dave Page.
|
|
|
|
| |
Nikolay Samokhvalov
|
| |
|
|
|
|
| |
Nikolay Samokhvalov
|
|
|
|
|
|
|
| |
of a multi-statement simple-Query message. This bug goes all the way
back, but unfortunately is not nearly so easy to fix in existing releases;
it is only the recent ProcessUtility API change that makes it fixable in
HEAD. Per report from William Garrison.
|