<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/src/include/optimizer/subselect.h, branch REL7_0_PATCHES</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Ye-old pgindent run.  Same 4-space tabs.</title>
<updated>2000-04-12T17:17:23+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2000-04-12T17:17:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=52f77df613cea1803ce86321c37229626d9f213c'/>
<id>52f77df613cea1803ce86321c37229626d9f213c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix extremely nasty little bug observed when a sub-SELECT appears in</title>
<updated>2000-04-04T01:21:48+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-04-04T01:21:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=1c72a8a37a446eebb09bcfb5eb6bad7ddd1655c8'/>
<id>1c72a8a37a446eebb09bcfb5eb6bad7ddd1655c8</id>
<content type='text'>
WHERE in a place where it can be part of a nestloop inner indexqual.
As the code stood, it put the same physical sub-Plan node into both
indxqual and indxqualorig of the IndexScan plan node.  That confused
later processing in the optimizer (which expected that tracing the
subPlan list would visit each subplan node exactly once), and would
probably have blown up in the executor if the planner hadn't choked first.
Fix by making the 'fixed' indexqual be a complete deep copy of the
original indexqual, rather than trying to share nodes below the topmost
operator node.  This had further ramifications though, because we were
making the aforesaid list of sub-Plan nodes during SS_process_sublinks
which is run before construction of the 'fixed' indexqual, meaning that
the copy of the sub-Plan didn't show up in that list.  Fix by rearranging
logic so that the sub-Plan list is built by the final set_plan_references
pass, not in SS_process_sublinks.  This may sound like a mess, but it's
actually a good deal cleaner now than it was before, because we are no
longer dependent on the assumption that planning will never make a copy
of a sub-Plan node.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WHERE in a place where it can be part of a nestloop inner indexqual.
As the code stood, it put the same physical sub-Plan node into both
indxqual and indxqualorig of the IndexScan plan node.  That confused
later processing in the optimizer (which expected that tracing the
subPlan list would visit each subplan node exactly once), and would
probably have blown up in the executor if the planner hadn't choked first.
Fix by making the 'fixed' indexqual be a complete deep copy of the
original indexqual, rather than trying to share nodes below the topmost
operator node.  This had further ramifications though, because we were
making the aforesaid list of sub-Plan nodes during SS_process_sublinks
which is run before construction of the 'fixed' indexqual, meaning that
the copy of the sub-Plan didn't show up in that list.  Fix by rearranging
logic so that the sub-Plan list is built by the final set_plan_references
pass, not in SS_process_sublinks.  This may sound like a mess, but it's
actually a good deal cleaner now than it was before, because we are no
longer dependent on the assumption that planning will never make a copy
of a sub-Plan node.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bunch of minor portability problems and maybe-bugs revealed by</title>
<updated>2000-03-17T02:36:41+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2000-03-17T02:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=341b328b180e65d1fa5c8f2235cf101c8a12824f'/>
<id>341b328b180e65d1fa5c8f2235cf101c8a12824f</id>
<content type='text'>
running gcc and HP's cc with warnings cranked way up.  Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing.  Tedious, but perhaps useful...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
running gcc and HP's cc with warnings cranked way up.  Signed vs unsigned
comparisons, routines declared static and then defined not-static,
that kind of thing.  Tedious, but perhaps useful...
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up #include in /include directory.  Add scripts for checking includes.</title>
<updated>1999-07-15T15:21:54+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>1999-07-15T15:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=4b2c2850bf243cfa4a7b4cbd2e60ba1791c098fb'/>
<id>4b2c2850bf243cfa4a7b4cbd2e60ba1791c098fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup of /include #include's, for 6.6 only.</title>
<updated>1999-07-14T01:20:30+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>1999-07-14T01:20:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=0cf1b79528aa98fa7e0acfd60371251bd691cf5a'/>
<id>0cf1b79528aa98fa7e0acfd60371251bd691cf5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up problems with sublinks + grouping in planner.  Not</title>
<updated>1999-06-21T01:20:57+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>1999-06-21T01:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=fd8e580bb7e2793621b14662122ac5cd647b7fb1'/>
<id>fd8e580bb7e2793621b14662122ac5cd647b7fb1</id>
<content type='text'>
sure if they are all fixed, because rewriter is now the stumbling block,
but at least some cases work that did not work before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sure if they are all fixed, because rewriter is now the stumbling block,
but at least some cases work that did not work before.
</pre>
</div>
</content>
</entry>
<entry>
<title>Partial fix for copied-plan bugs reported by Hiroshi Inoue:</title>
<updated>1999-03-03T00:02:42+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>1999-03-03T00:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=e0345e09bf420833ce0647c616414a2913148f1e'/>
<id>e0345e09bf420833ce0647c616414a2913148f1e</id>
<content type='text'>
_copyResult didn't copy subPlan structure completely.  _copyAgg is still
busted, apparently because of changes from EXCEPT/INTERSECT patch
(get_agg_tlist_references is no longer sufficient to find all aggregates).
No time to look at that tonight, however.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_copyResult didn't copy subPlan structure completely.  _copyAgg is still
busted, apparently because of changes from EXCEPT/INTERSECT patch
(get_agg_tlist_references is no longer sufficient to find all aggregates).
No time to look at that tonight, however.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change my-function-name-- to my_function_name, and optimizer renames.</title>
<updated>1999-02-13T23:22:53+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>1999-02-13T23:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=6724a5078748946b8150700125571b6ea62feca8'/>
<id>6724a5078748946b8150700125571b6ea62feca8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>OK, folks, here is the pgindent output.</title>
<updated>1998-09-01T04:40:42+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>1998-09-01T04:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=fa1a8d6a97068295fe30ac646aec7493a6305bc2'/>
<id>fa1a8d6a97068295fe30ac646aec7493a6305bc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pgindent run before 6.3 release, with Thomas' requested changes.</title>
<updated>1998-02-26T04:46:47+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>1998-02-26T04:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/postgresql.git/commit/?id=a32450a5855eed4bfd756ef292ee45d3c754665b'/>
<id>a32450a5855eed4bfd756ef292ee45d3c754665b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
