提交 b8ef30cf 编写于 作者: D Daniel Gustafsson

Merge commit '5b4a0889' from PostgreSQL 8.3

HEAD version picked in all cases, only comment changes pulled in from
upstream.
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.496 2007/01/07 21:10:40 petere Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.497 2007/01/18 14:07:31 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
......
......@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/optimizer/util/clauses.c,v 1.229 2007/01/10 18:06:04 tgl Exp $
* $PostgreSQL: pgsql/src/backend/optimizer/util/clauses.c,v 1.230 2007/01/17 17:25:52 tgl Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
......@@ -1166,6 +1166,12 @@ is_strict_saop(ScalarArrayOpExpr *expr, bool falseOK)
* may vary from one statement to the next. However, the expr's value
* will be constant over any one scan of the current query, so it can be
* used as, eg, an indexscan key.
*
* CAUTION: this function omits to test for one very important class of
* not-constant expressions, namely aggregates (Aggrefs). In current usage
* this is only applied to WHERE clauses and so a check for Aggrefs would be
* a waste of cycles; but be sure to also check contain_agg_clause() if you
* want to know about pseudo-constness in other contexts.
*/
bool
is_pseudo_constant_clause(Node *clause)
......
......@@ -10,7 +10,7 @@
* Win32 (NT4 and newer).
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.46 2007/01/05 22:20:02 momjian Exp $
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.47 2007/01/19 16:42:24 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
......
......@@ -436,8 +436,8 @@ convert_sourcefiles_in(char *source, char *dest, char *suffix)
}
/*
* in a VPATH build, use the provided source directory; otherwise, use the
* current directory.
* in a VPATH build, use the provided source directory; otherwise, use
* the current directory.
*/
if (srcdir)
strlcpy(abs_srcdir, srcdir, MAXPGPATH);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册