define type big (input = lo_filein,
				 output = lo_fileout,
				 internallength = variable) 
\g

/* should elog(WARN...) */

define type big (input = lo_filein,
				 output = lo_fileout,
				 internallength = variable) 
\g

create a (b = big, d = big, e = char, f = big)

\g

append a (b = "/usr/postgres/script-1", d = "/usr/postgres/script-1",
		  e = 'a', f = "/usr/postgres/script-1")
\g

retrieve (a.all) 

\g
retrieve (a.e, a.f) 
\g
destroy a
\g
remove type big
\g

define type big (input = lo_filein,
				 output = lo_fileout,
				 internallength = variable) 
\g

remove type big
 
\g

/* should elog(WARN...) but not die */

remove type big
 
\g
