SQL equivalint of #incude directive ?

From: stan <stanb(at)panix(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: SQL equivalint of #incude directive ?
Date: 2019-08-30 13:48:59
Message-ID: 20190830134859.GA24151@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I thought this would be common. But a quick Google only revealed what look to be
workarounds.

I am defining a bunch of functions, and I would prefer to store them in a
separate file, which then gets "source" by the main DB init file.

Is there a standard way to do this?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2019-08-30 13:52:40 Re: SQL equivalint of #incude directive ?
Previous Message Tom Lane 2019-08-30 13:42:26 Re: Exclusion constraints on overlapping text arrays?