mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove use of '<' and '>' in SGML, use '&' escapes.
Update find_gt_lt to allow grep parameters to be passed into it.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.33 2006/09/03 22:23:58 tgl Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpython.sgml,v 1.34 2006/10/16 17:28:03 momjian Exp $ -->
|
||||
|
||||
<chapter id="plpython">
|
||||
<title>PL/Python - Python Procedural Language</title>
|
||||
@ -123,7 +123,7 @@ CREATE FUNCTION pymax (a integer, b integer)
|
||||
AS $$
|
||||
if (a is None) or (b is None):
|
||||
return None
|
||||
if a > b:
|
||||
if a > b:
|
||||
return a
|
||||
return b
|
||||
$$ LANGUAGE plpythonu;
|
||||
|
Reference in New Issue
Block a user