| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
collation/encoding to match English when reading controldata. This now
matches the English variable setting used by pg_regress.c.
Backpatch to 9.0.X.
|
|
|
|
| |
Erik Rijkers
|
|
|
|
| |
at end of files.
|
|
|
|
|
|
|
|
| |
functions to the core XML code. Per discussion, the former depends on
XMLOPTION while the others do not. These supersede a version previously
offered by contrib/xml2.
Mike Fowler, reviewed by Pavel Stehule
|
|
|
|
|
|
| |
out immediately on any out-of-memory condition. It's rather pointless to
imagine that pgbench will be able to continue usefully after a malloc
failure, and in any case there were a number of unchecked mallocs.
|
|
|
|
|
|
| |
times) to pgbench.
Florian Pflug, reviewed by Greg Smith
|
|
|
|
|
|
|
|
|
| |
pairs that can be handled by xslt_process().
There is much else to do here, but this patch seems useful in its own right
for as long as this code survives.
Pavel Stehule, reviewed by Mike Fowler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename TSParserGetPrsid to get_ts_parser_oid.
- Rename TSDictionaryGetDictid to get_ts_dict_oid.
- Rename TSTemplateGetTmplid to get_ts_template_oid.
- Rename TSConfigGetCfgid to get_ts_config_oid.
- Rename FindConversionByName to get_conversion_oid.
- Rename GetConstraintName to get_constraint_oid.
- Add new functions get_opclass_oid, get_opfamily_oid, get_rewrite_oid,
get_rewrite_oid_without_relid, get_trigger_oid, and get_cast_oid.
The name of each function matches the corresponding catalog.
Thanks to KaiGai Kohei for the review.
|
|
|
|
| |
Jeff Davis, with minor adjustments by me.
|
|
|
|
| |
Based on a patch by, and further ideas from, Alexander Korotkov.
|
|
|
|
| |
Jeff Davis, with slight editorialization by me.
|
|
|
|
| |
Review by Tom Lane.
|
|
|
|
|
|
|
| |
Operating directly on the underlying varlena saves palloc and memcpy
overhead, which testing shows to be significant.
Extracted from a larger patch by Alexander Korotkov.
|
| |
|
|
|
|
| |
Review by Dave Page.
|
|
|
|
|
|
| |
migrations.
Backpatch to 9.0.
|
|
|
|
|
|
|
| |
where the oid is not preserved by pg_upgrade (everything but pg_type).
Update documentation.
Per bug report from depstein@alliedtesting.com.
|
|
|
|
| |
Per buildfarm.
|
|
|
|
| |
because of file access limitations on that platform.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
copy mode, per report from depstein@alliedtesting.com.
Patch suggestion from Magnus.
Backpatch to 9.0.X.
|
| |
|
|
|
|
|
|
|
|
| |
supposing that they should set SHLIB_LINK rather than LDFLAGS_SL. Since these
don't go through Makefile.shlib that was a no-op on most platforms. Also
regularize the few platform-specific Makefiles that did pay attention to
SHLIB_LINK: it seems that the real value of that is to pull in BE_DLLLIBS,
so do that instead. Per buildfarm failures on cygwin.
|
| |
|
| |
|
|
|
|
| |
from Tom.
|
|
|
|
| |
David Wheeler, with one small correction by me.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
output to the same file, because it is impossible.
Also set user name for pg_dumpall in pg_upgrade.
|
|
|
|
|
| |
This is an oversight in my previous patch to deprecate => as an operator
name. Per buildfarm.
|
|
|
|
|
| |
This is not yet in any released version, so we still have the option to
change the name. We may want to reserve the token => in a future release.
|
|
|
|
|
|
|
|
| |
sane places, make messages follow project's message style guidelines.
Also, avoid closedir(NULL).
Fujii Masao and Tom Lane
|
| |
|
|
|
|
| |
Steve Singer
|
|
|
|
|
|
|
|
|
|
| |
dblink_build_sql_insert() and related functions. Now the column numbers
are treated as logical not physical column numbers. This will provide saner
behavior in the presence of dropped columns; furthermore, if we ever get
around to allowing rearrangement of logical column ordering, the original
definition would become nearly untenable from a usability standpoint.
Per recent discussion of dblink's handling of dropped columns.
Not back-patched for fear of breaking existing applications.
|
|
|
|
|
| |
This is not yet in any released version, so we still have the option to
backtrack. Instead, document hstore(text[], text[]). Per discussion.
|
|
|
|
|
|
|
|
| |
columns correctly. In passing, get rid of some dead logic in the
underlying get_sql_insert() etc functions --- there is no caller that
will pass null value-arrays to them.
Per bug report from Robert Voinea.
|
|
|
|
|
|
|
|
|
|
| |
dblink_build_sql_insert() and related functions. In particular, be sure to
reject references to dropped and out-of-range column numbers. The numbers
are still interpreted as physical column numbers, though, for backward
compatibility.
This patch replaces Joe's patch of 2010-02-03, which handled only some aspects
of the problem.
|
|
|
|
| |
Ruprecht on Mac (64 bit).
|
|
|
|
|
|
|
|
|
|
|
| |
lock the target relation just once per SQL function call. The original coding
obtained and released lock several times per call. Aside from saving a
not-insignificant number of cycles, this eliminates possible race conditions
if someone tries to modify the relation's schema concurrently. Also
centralize locking and permission-checking logic.
Problem noted while investigating a trouble report from Robert Voinea --- his
problem is still to be fixed, though.
|
| |
|
|
|
|
| |
standalone utility for removing files from archive.
|
| |
|
|
|
|
| |
than in a subdirectory of the $HOME directory, or $TMP in Windows.
|
|
|
|
|
| |
when connection string is longer than NAMEDATALEN.
The previous fix for long connection name broke the behavior.
|
|
|
|
|
|
| |
end with "duplicate connection name" errors.
Backported to release 7.4.
|