|The PostgreSQL 9.0 Reference Manual - Volume 2 - Programming Guide
by The PostgreSQL Global Development Group
Paperback (6"x9"), 478 pages
RRP £14.95 ($19.95)
Sales of this book support the PostgreSQL project! Get a printed copy>>>
3.12.1 Including files
To include an external file into your embedded SQL program, use:
EXEC SQL INCLUDE filename;
The embedded SQL preprocessor will look for a file named
preprocess it, and include it in the resulting C output. Thus,
embedded SQL statements in the included file are handled correctly.
Note that this is not the same as:
because this file would not be subject to SQL command preprocessing.
Naturally, you can continue to use the C
#include directive to include other header
Note: The include file name is case-sensitive, even though the rest of the
EXEC SQL INCLUDEcommand follows the normal SQL case-sensitivity rules.
|ISBN 9781906966065||The PostgreSQL 9.0 Reference Manual - Volume 2 - Programming Guide||See the print edition|