- 19 Feb, 2007 6 commits
-
-
Bruce Momjian authored
< o Add long file support for binary pg_dump output < < While Win32 supports 64-bit files, the MinGW API does not, < meaning we have to build an fseeko replacement on top of the < Win32 API, and we have to make sure MinGW handles it. Another < option is to wait for the MinGW project to fix it, or use the < code from the LibGW32C project as a guide. < < http://archives.postgresql.org/pgsql-hackers/2006-12/msg00551.php < > o -Add long file support for binary pg_dump output
-
Magnus Hagander authored
binary dump formats.
-
Magnus Hagander authored
-
Tom Lane authored
this code was last gone over, there wasn't really any alternative to globals because we didn't have the PlannerInfo struct being passed all through the planner code. Now that we do, we can restructure things to avoid non-reentrancy. I'm fooling with this because otherwise I'd have had to add another global variable for the planned compact range table list.
-
Tom Lane authored
Per example from Jeff Ross.
-
Tom Lane authored
plan nodes, so that the executor does not need to get these items from the range table at runtime. This will avoid needing to include these fields in the compact range table I'm expecting to make the executor use.
-
- 18 Feb, 2007 5 commits
-
-
Tom Lane authored
portals using PORTAL_UTIL_SELECT strategy. This is currently significant only for FETCH queries, which are supposed to include a count in the tag. Seems it's been broken since 7.4, but nobody noticed before Knut Lehre.
-
Bruce Momjian authored
string.
-
Bruce Momjian authored
< Currently, ALTER USER and ALTER DATABASE support per-user and > Currently ALTER USER and ALTER DATABASE support per-user and < Currently, subtracting one date from another that crosses a > Currently subtracting one date from another that crosses a < Currently, SQL-language functions can only refer to parameters via $1, etc > Currently SQL-language functions can only refer to dollar parameters, > e.g. $1 < Currently, queries prepared via the libpq API are planned on first > Currently queries prepared via the libpq API are planned on first < Currently, SET <tab> causes a database lookup to check all > Currently SET <tab> causes a database lookup to check all < Currently, all statement results are transferred to the libpq > Currently all statement results are transferred to the libpq
-
Bruce Momjian authored
* Allow SQL-language functions to reference parameters by parameter name Currently SQL-language functions can only refer to parameters via $1, etc
-
Bruce Momjian authored
current/requested headings, add link to table from text.
-
- 17 Feb, 2007 7 commits
-
-
Tom Lane authored
equal functions are checked for raw parse trees as well as post-analysis trees. This was never very important before, but the upcoming plan cache control module will need to be able to do copyObject() on raw parse trees.
-
Bruce Momjian authored
we can't overflow to the next higher units, and we might print the lower units for MS.
-
Bruce Momjian authored
> * Allow holdable cursors in SPI
-
Bruce Momjian authored
Brendan Jurd
-
Bruce Momjian authored
> > o Allow row and record variables to be set to NULL constants, > and allow NULL tests on such variables > > Because a row is not scalar, do not allow assignment > from NULL-valued scalars.
-
Bruce Momjian authored
floating point.
-
Bruce Momjian authored
as a performance enhancement. Mark Kirkwood
-
- 16 Feb, 2007 20 commits
-
-
Tom Lane authored
forces a particular relation nonnullable, then we can say that the OR does. This is worth a little extra trouble since it may allow reduction of outer joins to plain joins.
-
Bruce Momjian authored
> o Consider reducing on-disk varlena length from four to two > because a heap row cannot be more than 64k in length
-
Tom Lane authored
an opclass for a generic type such as ANYARRAY. The original coding failed to check that PK and FK columns were of the same array type. Per discussion with Tom Dunstan. Also, make the code a shade more readable by not trying to economize on variables.
-
Bruce Momjian authored
on platforms that need this. This is done by only writing past the previously stored message, if it was longer.
-
Tom Lane authored
JOIN quals, just like WHERE quals, even if they reference every one of the join's relations. Now that we can reorder outer and inner joins, it's possible for such a qual to end up being assigned to an outer join plan node, and we mustn't have it treated as a join qual rather than a filter qual for the node. (If it were, the join could produce null-extended rows that it shouldn't.) Per bug report from Pelle Johansson.
-
Peter Eisentraut authored
require stdint.h and works for "busted" int64.
-
Alvaro Herrera authored
remove duplicated tests in timestamp, and complete timestamptz with the tests that were missing to more closely mirror timestamp.
-
Tom Lane authored
-
Tom Lane authored
-
Alvaro Herrera authored
timestamp_tbl table into the timestamp test. Also, restore a test that used to exist as a valid test in the timestamptz test.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
detection of tabs are added in the future.
-
Tom Lane authored
be checked at plan levels below the top; namely, we have to allow for Result nodes inserted just above a nestloop inner indexscan. Should think about using the general Param mechanism to pass down outer-relation variables, but for the moment we need a back-patchable solution. Per report from Phil Frost.
-
Bruce Momjian authored
to_timestamp(): - ID for day-of-week - IDDD for day-of-year This makes it possible to convert ISO week dates to and from text fully represented in either week ('IYYY-IW-ID') or day-of-year ('IYYY-IDDD') format. I have also added an 'isoyear' field for use with extract / date_part. Brendan Jurd
-
Bruce Momjian authored
o read global SSL configuration file o add GUC "ssl_ciphers" to control allowed ciphers o add libpq environment variable PGSSLKEY to control SSL hardware keys Victor B. Wagner
-
Alvaro Herrera authored
startup and bgwriter processes), and the -y flag. It's not used anywhere.
-
Tom Lane authored
considered when it is necessary to do so because of a join-order restriction (that is, an outer-join or IN-subselect construct). The former coding was a bit ad-hoc and inconsistent, and it missed some cases, as exposed by Mario Weilguni's recent bug report. His specific problem was that an IN could be turned into a "clauseless" join due to constant-propagation removing the IN's joinclause, and if the IN's subselect involved more than one relation and there was more than one such IN linking to the same upper relation, then the only valid join orders involve "bushy" plans but we would fail to consider the specific paths needed to get there. (See the example case added to the join regression test.) On examining the code I wonder if there weren't some other problem cases too; in particular it seems that GEQO was defending against a different set of corner cases than the main planner was. There was also an efficiency problem, in that when we did realize we needed a clauseless join because of an IN, we'd consider clauseless joins against every other relation whether this was sensible or not. It seems a better design is to use the outer-join and in-clause lists as a backup heuristic, just as the rule of joining only where there are joinclauses is a heuristic: we'll join two relations if they have a usable joinclause *or* this might be necessary to satisfy an outer-join or IN-clause join order restriction. I refactored the code to have just one place considering this instead of three, and made sure that it covered all the cases that any of them had been considering. Backpatch as far as 8.1 (which has only the IN-clause form of the disease). By rights 8.0 and 7.4 should have the bug too, but they accidentally fail to fail, because the joininfo structure used in those releases preserves some memory of there having once been a joinclause between the inner and outer sides of an IN, and so it leads the code in the right direction anyway. I'll be conservative and not touch them.
-
- 15 Feb, 2007 2 commits
-
-
Alvaro Herrera authored
continuously, and requests vacuum runs of "autovacuum workers" to postmaster. The workers do the actual vacuum work. This allows for future improvements, like allowing multiple autovacuum jobs running in parallel. For now, the code keeps the original behavior of having a single autovac process at any time by sleeping until the previous worker has finished.
-
Tom Lane authored
platform-specific result ordering. Per buildfarm results.
-