Commit 63a85082 authored by Bruce Momjian's avatar Bruce Momjian

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

parent bc0595f2
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -40,7 +40,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace ...@@ -40,7 +40,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
is a utility for upgrading from a previous is a utility for upgrading from a previous
PostgreSQL release without reloading all the data. PostgreSQL release without reloading all the data.
Not all <productname>Postgres</productname> release transitions can be 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> </para>
<procedure> <procedure>
...@@ -55,7 +55,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace ...@@ -55,7 +55,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
<step performance="required"> <step performance="required">
<para> <para>
Do Then do:
<programlisting> <programlisting>
% pg_dumpall -s >db.out % pg_dumpall -s >db.out
</programlisting> </programlisting>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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, ...@@ -275,7 +275,7 @@ ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs,
if (rte == NULL) if (rte == NULL)
{ {
rte = addRangeTableEntry(pstate, refname, refname,FALSE, FALSE); 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; relname = rte->relname;
...@@ -434,7 +434,7 @@ ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs, ...@@ -434,7 +434,7 @@ ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs,
if (rte == NULL) if (rte == NULL)
{ {
rte = addRangeTableEntry(pstate, refname, refname,FALSE, FALSE); 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; relname = rte->relname;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -241,7 +241,7 @@ expandAll(ParseState *pstate, char *relname, char *refname, int *this_resno)
if (rte == NULL) if (rte == NULL)
{ {
rte = addRangeTableEntry(pstate, relname, refname, FALSE, FALSE); 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); rel = heap_open(rte->relid, AccessShareLock);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 "::" ...@@ -151,7 +151,7 @@ typecast "::"
self [,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|] self [,()\[\].;$\:\+\-\*\/\%\^\<\>\=\|]
op_and_self [\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=] op_and_self [\~\!\@\#\^\&\|\`\?\$\:\+\-\*\/\%\<\>\=]
operator {op_and_self}|({op_and_self}+[\~\!\@\#\^\&\|\`\?\$\:\+\*\/\%\<\>\=]) operator {op_and_self}+
/* we do not allow unary minus in numbers. /* we do not allow unary minus in numbers.
* instead we pass it verbatim to parser. there it gets * instead we pass it verbatim to parser. there it gets
......
#FIG 3.2 #FIG 3.2
Landscape Portrait
Center Center
Inches Inches
Letter Letter
100.00 88.90
Single Single
-2 -2
1200 2 1200 2
......
...@@ -13,7 +13,7 @@ by Bruce Momjian ...@@ -13,7 +13,7 @@ by Bruce Momjian
<CENTER> <CENTER>
<BR> <BR>
<BR> <BR>
<IMG src="flow.jpg" usemap="#flowmap" alt="flowchart" border=0> <IMG src="flow.gif" usemap="#flowmap" alt="flowchart" border=0>
</CENTER> </CENTER>
<MAP name="flowmap"> <MAP name="flowmap">
<AREA COORDS="70,0,230,40" HREF="backend_dirs.html#main"> <AREA COORDS="70,0,230,40" HREF="backend_dirs.html#main">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment