SQL equivalint of #incude directive ? - Mailing list 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




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Exclusion constraints on overlapping text arrays?
Next
From: Pavel Stehule
Date:
Subject: Re: SQL equivalint of #incude directive ?