Skip site navigation (1) Skip section navigation (2)

Seperate files per function...

From: Glenn Davy <gdavy(at)tpg(dot)com(dot)au>
To: Pgsql-Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Seperate files per function...
Date: 2005-07-11 23:43:30
Message-ID: 1121125410.9412.15.camel@localhost (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Hi all
I like to keep my views and functions etc in seperate files for source
control purposes. What I'd like to do is have a 'master' script that
includes each of the other files, in correct sequence. 
i.e. psql < masterscript.sql 
which would call each of fx_a.sql, fx_b.sql etc etc

The questing is whats the syntax in the master script to include
fx_a.sql,fx_b.sql etc?



pgsql-novice by date

Next:From: Michael FuhrDate: 2005-07-12 00:24:40
Subject: Re: Seperate files per function...
Previous:From: operationsengineer1Date: 2005-07-11 19:22:41
Subject: Install PGSQL 8.03 on WinXP (not service)

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group