Re: 'Include' function in SQL scripts

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alessio Bragadini <alessio(at)albourne(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: 'Include' function in SQL scripts
Date: 2001-03-30 15:09:27
Message-ID: Pine.LNX.4.30.0103301709040.1063-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Alessio Bragadini writes:

> I was wondering if PostgreSQL supports some kind of #include between SQL
> script files, to split a long script in different files.

If you're using the psql client then \i filename can be used.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-30 15:11:04 Re: Max Size of a text field
Previous Message Trewern, Ben 2001-03-30 14:49:46 RE: Help with 'now', now(), timestamp 'now', ...