- 04 Mar, 2009 9 commits
-
-
Tom Lane authored
fail to provide the function itself. Not sure how we escaped testing anything later than 7.3 on such cases, but they still exist, as per André Volpato's report about AIX 5.3.
-
Magnus Hagander authored
Per comment from Tom.
-
Heikki Linnakangas authored
Fujii Masao
-
Peter Eisentraut authored
"syntax error", not the literal string. I was previously confused on this matter, but I have now verified that everything is translated properly.
-
Peter Eisentraut authored
option. We don't want to commit to what it does, but hiding it will only cause confusion.
-
Heikki Linnakangas authored
composite, enum and array types, as those are surely not binary-compatible with anything else because of the embedded OIDs. Inspired by bug report by Oleg Serov.
-
Peter Eisentraut authored
unused nonstandard error code that was perhaps intended for this but never used.
-
Peter Eisentraut authored
This avoids irritating kernel logs (if system overstep violations are enabled) and also the grsecurity alert when starting PostgreSQL. original patch by Jacek Drobiecki References: http://archives.postgresql.org/pgsql-bugs/2004-05/msg00103.php http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248967
-
Magnus Hagander authored
pg_hba.conf on reload (for example due to a permission error). Selena Deckelmann
-
- 03 Mar, 2009 2 commits
-
-
Heikki Linnakangas authored
recovery: if background writer or pgstat process dies during recovery (or any other child process, but those two are the only ones running), send SIGQUIT to the startup process using correct pid.
-
Heikki Linnakangas authored
As pointed out by ITAGAKI Takahiro, we split SInvalLock into two in 8.4, so to keep the numbers of the rest of the locks unchanged from 8.3, we don't need a placeholder.
-
- 02 Mar, 2009 2 commits
-
-
Tom Lane authored
encoding conversion of any elog/ereport message being sent to the frontend. This generalizes a patch that I put in last October, which suppressed translation of only specific messages known to be associated with recursive can't-translate-the-message behavior. As shown in bug #4680, we need a more general answer in order to have some hope of coping with broken encoding conversion setups. This approach seems a good deal less klugy anyway. Patch in all supported branches.
-
Teodor Sigaev authored
- pg_wchar and wchar_t could have different size, so char2wchar doesn't call pg_mb2wchar_with_len to prevent out-of-bound memory bug - make char2wchar/wchar2char symmetric, now they should not be called with C-locale because mbstowcs/wcstombs oftenly doesn't work correct with C-locale. - Text parser uses pg_mb2wchar_with_len directly in case of C-locale and multibyte encoding Per bug report by Hiroshi Inoue <inoue@tpf.co.jp> and following discussion. Backpatch up to 8.2 when multybyte support was implemented in tsearch.
-
- 28 Feb, 2009 3 commits
-
-
Tom Lane authored
fail on zero-length inputs. This isn't an issue in normal use because the conversion infrastructure skips calling the converters for empty strings. However a problem was created by yesterday's patch to check whether the right conversion function is supplied in CREATE CONVERSION. The most future-proof fix seems to be to make the converters safe for this corner case.
-
Tom Lane authored
input lists before we grovel through the lists. This doesn't save much, but testing shows that the case of both inputs NIL is common enough that it saves something. And this is used enough to be a hotspot.
-
Tom Lane authored
to 100ms (from 1000). This still seems to be comfortably larger than the useful range of the parameter, and it should help discourage people from picking uselessly large values. Tweak the documentation to recommend small values, too. Per discussion of a couple weeks ago.
-
- 27 Feb, 2009 7 commits
-
-
Tom Lane authored
the ON clause of an outer join. Doing so is semantically correct but results in de-optimizing queries that were structured to take advantage of the sublink style of execution, as seen in recent complaint from Kevin Grittner. Since the user can get the other behavior by reorganizing his query, having the flattening happen automatically is just a convenience, and that doesn't justify breaking existing applications. Eventually it would be nice to re-enable this, but that seems to require a significantly different approach to outer joins in the executor.
-
Tom Lane authored
of the associativity of antijoins. Also improve optimizer/README discussion of outer join ordering rules.
-
Heikki Linnakangas authored
function for the specified source and destination encodings. We do that by calling the function with an empty string. If it can't perform the requested conversion, it will throw an error. Backport to 7.4 - 8.3. Per bug report #4680 by Denis Afonin.
-
Peter Eisentraut authored
missing. Since this touches most lines of the help output, also change the mix of puts and printf calls to printf everywhere, for easier code editing and reviewing.
-
Peter Eisentraut authored
options and normally formatted help output.
-
Peter Eisentraut authored
FOREIGN DATA WRAPPER/SERVER/USER MAPPING is optional.
-
Tom Lane authored
to be syntactically part of a semijoin clause. For example given WHERE EXISTS(SELECT ... WHERE upper.var = lower.var AND some-condition) where some-condition is just a restriction on the lower relation, we can use unique-ification on lower.var after having applied some-condition within the scan on lower.
-
- 26 Feb, 2009 3 commits
-
-
Tom Lane authored
been broken for more than a month, so evidently it's not needed, at least not for any configuration in the buildfarm. We can correct it and replace it later if we find something that still needs it.
-
Peter Eisentraut authored
were marked for removal in 8.4.
-
Peter Eisentraut authored
programs that have a -W/--password option. In passing, remove the ancient PSQL_ALWAYS_GET_PASSWORDS compile option.
-
- 25 Feb, 2009 8 commits
-
-
Tom Lane authored
looks for a CaseTestExpr to figure out what the parser did, but it failed to consider the possibility that an implicit coercion might be inserted above the CaseTestExpr. This could result in an Assert failure in some cases (but correct results if Asserts weren't enabled), or an "unexpected CASE WHEN clause" error in other cases. Per report from Alan Li. Back-patch to 8.1; problem doesn't exist before that because CASE was implemented differently.
-
Magnus Hagander authored
been removed. This should unbreak the msvc build again.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
leftovers from when the password was read from stdin.
-
Peter Eisentraut authored
help of pg_dump and pg_dumpall more similar.
-
Heikki Linnakangas authored
writer in WAL recovery.
-
Tom Lane authored
making pull_up_sublinks() construct a full-blown JoinExpr tree representation of IN/EXISTS SubLinks that it is able to convert to semi or anti joins. This makes pull_up_sublinks() a shade more complex, but the gain in semantic clarity is worth it. I still have more to do in this area to address the previously-discussed problems, but this commit in itself fixes at least one bug in HEAD, as shown by added regression test case.
-
- 24 Feb, 2009 3 commits
-
-
Peter Eisentraut authored
Robert Haas
-
Peter Eisentraut authored
wrappers (similar to procedural languages). This way we don't need to retain the nearly empty libraries, and we are more free in how to implement the wrapper API in the future.
-
Tom Lane authored
TABLE: if the command is executed by someone other than the table owner (eg, a superuser) and the table has a toast table, the toast table's pg_type row ends up with the wrong typowner, ie, the command issuer not the table owner. This is quite harmless for most purposes, since no interesting permissions checks consult the pg_type row. However, it could lead to unexpected failures if one later tries to drop the role that issued the command (in 8.1 or 8.2), or strange warnings from pg_dump afterwards (in 8.3 and up, which will allow the DROP ROLE because we don't create a "redundant" owner dependency for table rowtypes). Problem identified by Cott Lang. Back-patch to 8.1. The problem is actually far older --- the CLUSTER variant can be demonstrated in 7.0 --- but it's mostly cosmetic before 8.1 because we didn't track ownership dependencies before 8.1. Also, fixing it before 8.1 would require changing the call signature of heap_create_with_catalog(), which seems to carry a nontrivial risk of breaking add-on modules.
-
- 23 Feb, 2009 3 commits
-
-
Tom Lane authored
multiple check constraints.
-
Peter Eisentraut authored
-
Heikki Linnakangas authored
of recovery by exiting with exit code 0, like in previous releases. Per Tom's suggestion.
-