Thread

Commits

  1. Doc: Python's control flow construct is try/except not try/catch.

  1. incorrect description of Python try / except

    The Post Office <noreply@postgresql.org> — 2024-01-02T22:59:31Z

    The following documentation comment has been logged on the website:
    
    Page: https://www.postgresql.org/docs/16/plpython-subtransaction.html
    Description:
    
    On page
    https://www.postgresql.org/docs/current/plpython-subtransaction.html, 
    Note that the use of try/catch is still required.
    should read
    Note that the use of try/except is still required.
    
  2. Re: incorrect description of Python try / except

    Tom Lane <tgl@sss.pgh.pa.us> — 2024-01-03T17:08:25Z

    PG Doc comments form <noreply@postgresql.org> writes:
    > On page
    > https://www.postgresql.org/docs/current/plpython-subtransaction.html, 
    > Note that the use of try/catch is still required.
    > should read
    > Note that the use of try/except is still required.
    
    Right you are.  Will fix, thanks!
    
    			regards, tom lane