Re: [SQL] sql error creating function

2006-08-11 Thread Christopher Browne
Quoth [EMAIL PROTECTED] ("TJ O'Donnell"): > When I psql -f f.sql > I get the following error: > psql:f.sql:10: ERROR: relation "fragset" does not exist > CONTEXT: SQL function "fragments" > >> cat f.sql > Create Or Replace Function fragments(character varying) > Returns setof character varying >

[SQL] sql error creating function

2006-08-10 Thread TJ O'Donnell
When I psql -f f.sql I get the following error: psql:f.sql:10: ERROR: relation "fragset" does not exist CONTEXT: SQL function "fragments" > cat f.sql Create Or Replace Function fragments(character varying) Returns setof character varying As $$ Create Temporary Table fragset (smiles character