summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
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
2003-01-06Add note explaining that a mergejoinable equality operator is nowTom Lane
required if a datatype is to be accepted by GROUP BY, DISTINCT, or ORDER BY. This is documentation for code changes made pursuant to pgsql-hackers discussion around 29-Nov-02.
2003-01-06ALTER DOMAIN OWNER, from Rod Taylor.Tom Lane
2002-12-30Adjust Tcl-related code to compile cleanly with Tcl 8.4 (add const modifiers asTom Lane
needed). Some desultory const-ification of SPI interface to support this.
2002-12-30Code review for transaction-safe-TRUNCATE patch: minor cleanups.Tom Lane
2002-12-30Code review for CLUSTER ALL patch. Fix bogus locking, incorrect transactionTom Lane
stop/start nesting, other infelicities.
2002-12-30Cause FETCH 1 to return the current cursor row, or zero if atBruce Momjian
beginning/end of cursor. Have MOVE return 0/1 depending on cursor position. Matches SQL spec. Pass cursor counter from parser as a long rather than int. Doc updates.
2002-12-27Trivial patch to increase max_fsm_pages as per earlier discussion.Bruce Momjian
Philip Warner
2002-12-20Update 7.3.1 to give proper attribution to pg_dump item.Bruce Momjian
2002-12-18MVCC doc improvements:Bruce Momjian
> I'm not objecting to improving the text. I am objecting to deleting it > outright... Ok, fair enough. I've attached a revised version of the patch -- let me know you think it needs further improvements. Neil Conway
2002-12-18Update Russian FAQ. Update all FAQ's for 7.3.X branch.Bruce Momjian
2002-12-18Add some items to development-branch release notes.Tom Lane
2002-12-18incorporates latest changes in the English original.Bruce Momjian
Ian Barwick
2002-12-18Stamp 7.3.1.Bruce Momjian
2002-12-17Improvement to CREATE TRIGGER and catalog documentation.Bruce Momjian
Neil Conway
2002-12-16Document that zero-column tables are allowed (and non-standard).Tom Lane
2002-12-14Initial version of the SQL information schemaPeter Eisentraut
2002-12-13This patch fixes a few typos in the documentation for the '~/.pgpass'Bruce Momjian
libpq feature. Neil Conway
2002-12-12> There is an ugly little problem with the DB wrapper class.Bruce Momjian
> > In pg.py the attributes of DB are defined as being the same as > the attributes of the corresponding pgobject "db", using the following ... > The problem is that the attributes of db (which are read only) > are not static (they are actually function calls to PostgreSQL), > especially "status" and "error", but those attributes are copied > and this is done only once when initializing the DB object. > > So, in effect, only the attribute "db.error" of a DB instance > will be updated, but not the attribute "error". Same with "status". > Don't copy the (read only) attributes of the pgobject to the > DB object, but only the methods, and all of them, like this: > > --------------- change in pg.py ------------------ > # Create convience methods, in a way that is still overridable. > for e in self.db.__methods__: > setattr(self, e, getattr(self.db, e)) > ---------------------------------------------------- > > Furthermore, make an addition to the documentation of the > DB wrapper class (i.e. in pygresql-pg-db.html): > After the sentence "All pgobject methods are included in this class also." > add the following sentence "The pgobject read-only attributes can be > accessed py adding the prefix 'db.' to them." Christoph Zwerschke
2002-12-12TODO marked as done:Bruce Momjian
* Add schema, cast, and conversion backslash commands to psql I had to create a new publically available function, pg_conversion_is_visible, as it seemed to be missing from the catalogs. This required me to do no small amount of hacking around in namespace.c I have updated the \? help and sgml docs. \dc - list conversions [PATTERN] \dC - list casts \dn list schemas I didn't support patterns with casts as there's nothing obvious to match against. Catalog version incremented --- initdb required. Christopher Kings-Lynne
2002-12-12Preliminary code review for domain CHECK constraints patch: add documentation,Tom Lane
make VALUE a non-reserved word again, use less invasive method of passing ConstraintTestValue into transformExpr, fix problems with nested constraint testing, do correct thing with NULL result from a constraint expression, remove memory leak. Domain checks still need much more work if we are going to allow ALTER DOMAIN, however.
2002-12-11Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user.Bruce Momjian
template/sco updated.
2002-12-10More minor improvements to the SGML docs, namelyBruce Momjian
doc/src/sgml/runtime.sgml Neil Conway
2002-12-09This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", notBruce Momjian
"OS/X". Neil Conway