Conditional compilation

From: Thiemo Kellner <thiemo(at)gelassene-pferde(dot)biz>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Conditional compilation
Date: 2023-11-12 15:32:39
Message-ID: 1ed285e8-2ac0-4873-87e9-02a4d412732d@gelassene-pferde.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

Does PostgreSQL have something like Oracle's conditional compilation?
This is sort of an if then statement that gets evaluated on
compilation/installation time of PL/SQL code. If the condition is met,
the code until the $END gets compiled. It is even possible to switch
on/off parts of single statements. I suppose it is sort of a
preprocessor that removes the code part from $IF until $END if the
condition is not met.

Kind regards

Thiemo

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-11-12 15:37:47 Re: Conditional compilation
Previous Message Justin Clift 2023-11-12 04:41:26 Re: Server process exited with exit code 4