Reverse out last scan.l patch for minus handling.\

This commit is contained in:
Bruce Momjian 1999-09-28 03:41:40 +00:00
parent bc0595f27f
commit 63a85082e3
8 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.6 1999/07/31 22:05:48 tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.7 1999/09/28 03:41:35 momjian Exp $
Postgres documentation
-->
@ -40,7 +40,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
is a utility for upgrading from a previous
PostgreSQL release without reloading all the data.
Not all <productname>Postgres</productname> release transitions can be
handled this way; check the release notes for details on your installation.
handled this way. Check the release notes for details on your installation.
</para>
<procedure>
@ -55,7 +55,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
<step performance="required">
<para>
Do
Then do:
<programlisting>
% pg_dumpall -s >db.out
</programlisting>

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.56 1999/09/27 17:46:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.57 1999/09/28 03:41:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -275,7 +275,7 @@ ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs,
if (rte == NULL)
{
rte = addRangeTableEntry(pstate, refname, refname,FALSE, FALSE);
elog(NOTICE,"Auto-creating query reference to table %s", refname);
elog(NOTICE,"Adding missing FROM-clause entry for table %s", refname);
}
relname = rte->relname;
@ -434,7 +434,7 @@ ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs,
if (rte == NULL)
{
rte = addRangeTableEntry(pstate, refname, refname,FALSE, FALSE);
elog(NOTICE,"Auto-creating query reference to table %s", refname);
elog(NOTICE,"Adding missing FROM-clause entry for table %s", refname);
}
relname = rte->relname;

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.28 1999/09/27 17:46:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.29 1999/09/28 03:41:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -241,7 +241,7 @@ expandAll(ParseState *pstate, char *relname, char *refname, int *this_resno)
if (rte == NULL)
{
rte = addRangeTableEntry(pstate, relname, refname, FALSE, FALSE);
elog(NOTICE,"Auto-creating query reference to table %s", refname);
elog(NOTICE,"Adding missing FROM-clause entry for table %s", refname);
}
rel = heap_open(rte->relid, AccessShareLock);

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.56 1999/09/27 21:02:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.57 1999/09/28 03:41:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -151,7 +151,7 @@ typecast "::"
self [,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|]
op_and_self [\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
operator {op_and_self}|({op_and_self}+[\~\!\@\#\^\&\|\`\?\$\:\+\*\/\%\<\>\=])
operator {op_and_self}+
/* we do not allow unary minus in numbers.
* instead we pass it verbatim to parser. there it gets

View File

@ -1,9 +1,9 @@
#FIG 3.2
Landscape
Portrait
Center
Inches
Letter
100.00
88.90
Single
-2
1200 2

BIN
src/tools/backend/flow.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

View File

@ -13,7 +13,7 @@ by Bruce Momjian
<CENTER>
<BR>
<BR>
<IMG src="flow.jpg" usemap="#flowmap" alt="flowchart" border=0>
<IMG src="flow.gif" usemap="#flowmap" alt="flowchart" border=0>
</CENTER>
<MAP name="flowmap">
<AREA COORDS="70,0,230,40" HREF="backend_dirs.html#main">