pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
'Include' function in SQL scripts
2+ messages / 2 participants
[nested] [flat]

* 'Include' function in SQL scripts
@ 2001-03-30 07:30  Alessio Bragadini <alessio@albourne.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Alessio Bragadini @ 2001-03-30 07:30 UTC (permalink / raw)
  To: pgsql-sql

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

-- 
Alessio F. Bragadini		alessio@albourne.com
APL Financial Services		http://village.albourne.com
Nicosia, Cyprus		 	phone: +357-2-755750

"It is more complicated than you think"
		-- The Eighth Networking Truth from RFC 1925



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 'Include' function in SQL scripts
@ 2001-03-30 15:09  Peter Eisentraut <peter_e@gmx.net>
  parent: Alessio Bragadini <alessio@albourne.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2001-03-30 15:09 UTC (permalink / raw)
  To: Alessio Bragadini <alessio@albourne.com>; +Cc: 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@gmx.net       http://yi.org/peter-e/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-03-30 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-30 07:30 'Include' function in SQL scripts Alessio Bragadini <alessio@albourne.com>
2001-03-30 15:09 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox