pgsql: Remove traces of version-0 calling convention in src/tutorial/

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove traces of version-0 calling convention in src/tutorial/
Date: 2019-11-22 12:13:23
Message-ID: E1iY7oR-0001p0-Nd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove traces of version-0 calling convention in src/tutorial/

Support has been removed as of 5ded4bd, but code related to the tutorial
still used it. Functions using version-1 are already present for some
time in the tutorial, and the documentation mentions them, so just
replace the old version with the new one.

Reported-by: Pavel Stehule
Analyzed-by: Euler Taveira
Author: Michael Paquier
Reviewed-by: Tom Lane, Pavel Stehule
Discussion: https://postgr.es/m/CAFj8pRCgC2uDzrw-vvanXu6Z3ofyviEOQPEpH6_aL4OCe7JRag@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a9d5157ae8a7680b496d56f4edc3a43feff708c4

Modified Files
--------------
src/tutorial/funcs.c | 107 ++++++++++++++++++++++-----------------
src/tutorial/funcs_new.c | 129 -----------------------------------------------
2 files changed, 61 insertions(+), 175 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-11-22 12:20:04 pgsql: Add .gitignore to src/tutorial/
Previous Message Michael Paquier 2019-11-22 08:05:39 Re: pgsql: Make DROP DATABASE command generate less WAL records.