home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / test / script-1 < prev    next >
Encoding:
Text File  |  1992-08-27  |  656 b   |  45 lines

  1. define type big (input = lo_filein,
  2.                  output = lo_fileout,
  3.                  internallength = variable) 
  4. \g
  5.  
  6. /* should elog(WARN...) */
  7.  
  8. define type big (input = lo_filein,
  9.                  output = lo_fileout,
  10.                  internallength = variable) 
  11. \g
  12.  
  13. create a (b = big, d = big, e = char, f = big)
  14.  
  15. \g
  16.  
  17. append a (b = "/usr/postgres/script-1", d = "/usr/postgres/script-1",
  18.           e = 'a', f = "/usr/postgres/script-1")
  19. \g
  20.  
  21. retrieve (a.all) 
  22.  
  23. \g
  24. retrieve (a.e, a.f) 
  25. \g
  26. destroy a
  27. \g
  28. remove type big
  29. \g
  30.  
  31. define type big (input = lo_filein,
  32.                  output = lo_fileout,
  33.                  internallength = variable) 
  34. \g
  35.  
  36. remove type big
  37.  
  38. \g
  39.  
  40. /* should elog(WARN...) but not die */
  41.  
  42. remove type big
  43.  
  44. \g
  45.