home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Complete Linux
/
Complete Linux.iso
/
docs
/
apps
/
database
/
postgres
/
postgre1.z
/
postgre1
/
test
/
copy_test_inpu
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-08-27
|
233 b
|
15 lines
#include <stdio.h>
main()
{
char s[100];
PQsetdb("test");
PQexec("copy edge () to stdout");
printf("begin copy\n");
for (PQgetline(s,100); s[0] != '.'; PQgetline(s,100))
printf("%s\n", s);
PQendcopy();
printf("done\n");
}