- 23 Jan, 2003 3 commits
- 22 Jan, 2003 4 commits
- 21 Jan, 2003 4 commits
-
-
Tom Lane authored
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.
-
Michael Meskes authored
-
Tom Lane authored
-
Peter Eisentraut authored
-
- 20 Jan, 2003 1 commit
-
-
Tom Lane authored
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.
-
- 19 Jan, 2003 1 commit
-
-
Bruce Momjian authored
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
-
- 18 Jan, 2003 1 commit
-
-
Bruce Momjian authored
-
- 17 Jan, 2003 4 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
set-returning functions or SRF's. for clarity.
-
Tom Lane authored
that used to do it in planner. That was an ancient kluge that was never satisfactory; errors should be detected at parse time when possible. But at the time we didn't have the support mechanism (expression_tree_walker et al) to make it convenient to do in the parser.
-
Tom Lane authored
simplify callers. It turns out the common case is that the caller does want to recurse into sub-queries, so push support for that into these subroutines.
-
- 16 Jan, 2003 4 commits
-
-
Tom Lane authored
printed data is comparable to what you could read in the pg_locks view, were you fortunate enough to have been looking at it at the right time.
-
Tom Lane authored
with result that flatten_join_alias_vars failed to descend into subselects.
-
Tom Lane authored
-
Tom Lane authored
datetime token tables. Even more embarrassing, the regression tests revealed some of the problems --- but evidently the bogus output wasn't questioned. Add code to postmaster startup to directly check the tables for correct ordering, in hopes of not being embarrassed like this again.
-
- 15 Jan, 2003 12 commits
-
-
Peter Eisentraut authored
-
Tom Lane authored
join_references(), it's practical to consolidate all join_references() processing into the set_plan_references traversal in setrefs.c. This seems considerably cleaner than the old way where we did it for join quals in createplan.c and for targetlists in setrefs.c.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
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.
-
Bruce Momjian authored
-
Bruce Momjian authored
contrib/fulltextindex/README.fti Backpatched to 7.3.X too. Neil Conway
-
Bruce Momjian authored
for PL/PgSQL. Neil Conway
-
Bruce Momjian authored
-
- 14 Jan, 2003 6 commits
-
-
Peter Eisentraut authored
in the documentation from that same data.
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Barry Lind authored
-
Barry Lind authored
the code would only capture milliseconds where as both postgres and the java Timestamp object support greater resolution. Also fixed a bug reported by Rhett Sutphin where the last digit of the fractional seconds was lost when using timestamp without time zone Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/test/jdbc2/TimestampTest.java
-
Barry Lind authored
Modified Files: jdbc/org/postgresql/jdbc2/optional/PooledConnectionImpl.java jdbc/org/postgresql/test/jdbc2/optional/BaseDataSourceTest.java
-