fix SQL example syntax in file comment

Started by Jan Urbańskialmost 13 years ago2 messages
#1Jan Urbański
wulczer@wulczer.org
1 attachment(s)

Hi,

Here's a trivial patch that fixes a comment in execProcNode.c

For archeological interest, that comment dates back to when it was
written in POSTQUEL... The cleanup in
a9b1ff4c1d699c8aa615397d47bb3071275c64ef changed RETRIEVE to SELECT, but
forgot to add a FROM clause :)

Cheers,
Jan

Attachments:

missing-from-clause-in-comment.difftext/x-diff; name=missing-from-clause-in-comment.diffDownload
diff --git a/src/backend/executor/execProcnode.c b/src/backend/executor/execProcnode.c
index 4c1189e..76dd62f 100644
--- a/src/backend/executor/execProcnode.c
+++ b/src/backend/executor/execProcnode.c
@@ -32,6 +32,7 @@
  *		the number of employees in that department.  So we have the query:
  *
  *				select DEPT.no_emps, EMP.age
+ *				from DEPT, EMP
  *				where EMP.name = DEPT.mgr and
  *					  DEPT.name = "shoe"
  *
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jan Urbański (#1)
Re: fix SQL example syntax in file comment

=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulczer@wulczer.org> writes:

Here's a trivial patch that fixes a comment in execProcNode.c

Applied, thanks.

For archeological interest, that comment dates back to when it was
written in POSTQUEL... The cleanup in
a9b1ff4c1d699c8aa615397d47bb3071275c64ef changed RETRIEVE to SELECT, but
forgot to add a FROM clause :)

Actually, that was perfectly legal back then.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers