Commit e47e0e69 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Include example of table loading using the COPY command.

parent c452ddca
......@@ -104,7 +104,16 @@ INSERT INTO weather
<Para>
You can also use the <Command>copy</Command> command to perform load large
amounts of data from flat (<Acronym>ASCII</Acronym>) files.
</Para>
This is usually faster because the data is read (or written) as a single atomic
transaction directly to or from the target table. An example would be:
<ProgramListing>
COPY INTO weather FROM '/home/user/weather.txt'
USING DELIMITERS '|';
</ProgramListing>
where the path name for the source file must be available to the backend server
machine, not just the client.
<Sect1>
<Title>Querying a Class</Title>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment