summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2003-02-09Create a distinction between Lists of integers and Lists of OIDs, to getTom Lane
rid of the assumption that sizeof(Oid)==sizeof(int). This is one small step towards someday supporting 8-byte OIDs. For the moment, it doesn't do much except get rid of a lot of unsightly casts.
2003-02-08Replace planner's representation of relation sets, per pghackers discussion.Tom Lane
Instead of Lists of integers, we now store variable-length bitmap sets. This should be faster as well as less error-prone.
2003-02-06Create a GUC variable REGEX_FLAVOR to control the type of regularTom Lane
expression accepted by the regex operators, per discussion yesterday. Along the way, reduce deadlock_timeout from PGC_POSTMASTER to PGC_SIGHUP category. It is probably best to insist that all backends share the same setting, but that doesn't mean it has to be frozen at startup.
2003-02-05Replace regular expression package with Henry Spencer's latest versionTom Lane
(extracted from Tcl 8.4.1 release, as Henry still hasn't got round to making it a separate library). This solves a performance problem for multibyte, as well as upgrading our regexp support to match recent Tcl and nearly match recent Perl.
2003-02-04Update Hungarian FAQ, from Laszlo HornyakBruce Momjian
2003-02-04Revert doc change so we mention moving past the last row of a cursor.Bruce Momjian
2003-02-03Add mention of CURRENT_SCHEMA for object creation.Bruce Momjian
2003-02-03Change MOVE LAST to MOVE ALL.Bruce Momjian
Standard says FETCH LAST is after last row, and we don't do that.
2003-02-02Implement EXPLAIN EXECUTE. By Neil Conway, with some kibitzing fromTom Lane
Tom Lane.
2003-02-02Update release history for 7.3.2.Tom Lane
2003-02-01Remove restriction that cast functions cannot be volatile. ThisTom Lane
restriction was debatable to begin with, but it has now become obvious that it breaks forward-porting of user-defined types; contrib/lo being the most salient example.
2003-01-31Allow a time zone to be specified (and silently ignored) in the inputTom Lane
for type 'time without time zone', as we already did for type 'timestamp without time zone'. This patch was proposed by Tom Lockhart on 7-Nov-02, but he never got around to applying it. Adjust regression tests and documentation to match.
2003-01-31Fix typo, per Neil Conway.Tom Lane
2003-01-30Fix regression in .pgpass support. From Neil Conway.Tom Lane
2003-01-29Update release history for 7.2.4.Tom Lane
2003-01-29Repair array subscript overrun identified by Yichen Xie. Reduce theTom Lane
value of MAX_TIME_PRECISION in floating-point-timestamp-storage case from 13 to 10, which is as much as time_out is actually willing to print. (The alternative of increasing the number of digits we are willing to print looks risky; we might find ourselves printing roundoff garbage.)
2003-01-28Extend join-selectivity API (oprjoin interface) so that join type isTom Lane
passed to join selectivity estimators. Make use of this in eqjoinsel to derive non-bogus selectivity for IN clauses. Further tweaking of cost estimation for IN. initdb forced because of pg_proc.h changes.
2003-01-28Revert optimizer page count change.Bruce Momjian
2003-01-27Fix typo 233 pages -> 333 pages.Bruce Momjian
2003-01-25Allow the planner to collapse explicit inner JOINs together, rather thanTom Lane
necessarily following the JOIN syntax to develop the query plan. The old behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT to 1. Also create a GUC variable FROM_COLLAPSE_LIMIT to control the similar decision about when to collapse sub-SELECT lists into their parent lists. (This behavior existed already, but the limit was always GEQO_THRESHOLD/2; now it's separately adjustable.)
2003-01-23Grant options, and cascading revoke. Grant options are allowed only forPeter Eisentraut
users right now, not groups. Extension of has_foo_privileges functions to query the grant options. Extension of aclitem type to store grantor.
2003-01-23Update 'Mathematical Functions' table to reflect 7.3 addition of float8Tom Lane
forms of ceil(), floor(), sign(). Back-patch this and other recent doc fixes in this file to the 7.3 branch.
2003-01-21Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTOTom Lane
that's selecting into a RECORD variable returns zero rows, make it assign an all-nulls row to the RECORD; this is consistent with what happens when the SELECT INTO target is not a RECORD. In support of this, tweak the SPI code so that a valid tuple descriptor is returned even when a SPI select returns no rows.
2003-01-20IN clauses appearing at top level of WHERE can now be handled as joins.Tom Lane
There are two implementation techniques: the executor understands a new JOIN_IN jointype, which emits at most one matching row per left-hand row, or the result of the IN's sub-select can be fed through a DISTINCT filter and then joined as an ordinary relation. Along the way, some minor code cleanup in the optimizer; notably, break out most of the jointree-rearrangement preprocessing in planner.c and put it in a new file prep/prepjointree.c.
2003-01-19This patch includes a lot of minor cleanups to the SGML documentation,Bruce Momjian
including: - replacing all the appropriate usages of <citetitle>PostgreSQL ...</citetitle> with &cite-user;, &cite-admin;, and so on - fix an omission in the EXECUTE documentation - add some more text to the EXPLAIN documentation - improve the PL/PgSQL RETURN NEXT documentation (more work to do here) - minor markup fixes Neil Conway
2003-01-17Add dash to:Bruce Momjian
set-returning functions or SRF's. for clarity.
2003-01-15Oops, put back changes. Those were Peter's, not mine.Bruce Momjian
2003-01-15Revert my changes to features.sgml.Bruce Momjian
2003-01-15Allow merge and hash joins to occur on arbitrary expressions (anything notTom Lane
containing a volatile function), rather than only on 'Var = Var' clauses as before. This makes it practical to do flatten_join_alias_vars at the start of planning, which in turn eliminates a bunch of klugery inside the planner to deal with alias vars. As a free side effect, we now detect implied equality of non-Var expressions; for example in SELECT ... WHERE a.x = b.y and b.y = 42 we will deduce a.x = 42 and use that as a restriction qual on a. Also, we can remove the restriction introduced 12/5/02 to prevent pullup of subqueries whose targetlists contain sublinks. Still TODO: make statistical estimation routines in selfuncs.c and costsize.c smarter about expressions that are more complex than plain Vars. The need for this is considerably greater now that we have to be able to estimate the suitability of merge and hash join techniques on such expressions.
2003-01-15Reorder VARCHAR() to appear before CHAR() in docs.Bruce Momjian
2003-01-15This patch includes some minor fixes and improvements to the SGML docsBruce Momjian
for PL/PgSQL. Neil Conway
2003-01-14Add sql_features table to information schema. Generate the features listPeter Eisentraut
in the documentation from that same data.
2003-01-14Escape ampersand.Peter Eisentraut
2003-01-12Revise cost_qual_eval() to compute both startup (one-time) and per-tupleTom Lane
costs for expression evaluation, not only per-tuple cost as before. This extension is needed in order to deal realistically with hashed or materialized sub-selects.
2003-01-12Fix some minor grammatical errors.Tom Lane
2003-01-12SGML build cleanups from Neil Conway.Bruce Momjian
2003-01-11Fix capitalization.Bruce Momjian
2003-01-11Fix markup problem in link to other SGML file.Bruce Momjian
2003-01-11> > This patch improves the documentation for the shared_buffers GUC param.Bruce Momjian
> > I'd suggest that the runtime.sgml description explicitly say "values of > at least a few thousand are recommended for production installations". Neil Conway
2003-01-11Add doc links from SET to SET_CONSTRAINTS, SET_SESSION_AUTH,Bruce Momjian
SET_TRANSACTION.
2003-01-11Fix markup.Peter Eisentraut
2003-01-10Read-only transactions, as defined in SQL.Peter Eisentraut
2003-01-10Add optional drop behavior clause to REVOKE command, for SQL conformance.Peter Eisentraut
Currently, only RESTRICT is allowed.
2003-01-08Code review for FETCH/MOVE 0 changes. Improve documentation, do theTom Lane
right thing with the destination when FETCH 0 can't return a row, don't try to stuff LONG_MAX into an int value.
2003-01-07Apply the proper version of Christopher Kings-Lynne's describe patchTom Lane
(ie, the one with describe-schema support). Minor code review. Adjust display of casts to use standard type names.
2003-01-07Document that psql \encoding doesn't see SET CLIENT_ENCODING changes.Bruce Momjian
2003-01-07Document libpq service capability, and add sample file.Bruce Momjian
2003-01-06Enable IPv6 libpq 'hostaddr' addresses. Update docs.Bruce Momjian
2003-01-06Use our own version of getopt_long() if the OS doesn't have one.Peter Eisentraut
2003-01-06Enable IPv6 connections to the server, and add pg_hba.conf IPv6 entriesBruce Momjian
if the OS supports it. Code will still compile on non-IPv6-aware machines (feature added by Bruce). Nigel Kukard