Re: [GENERAL] A couple of pgsql questions

2000-10-18 Thread Stephan Szabo
You need to use the createlang script to enable the procedural languages you wish to use. I believe it's createlang > db'# physionetdb'# physionetdb'# ERROR: Unrecognized language specified in > a CREATE FUNCTION: 'pltcl'. Recognized languages are sql, C, internal > and the created p

[GENERAL] A couple of pgsql questions

2000-10-18 Thread Jack V Chung
Hello, I want to apologize in advance if I sent this to the wrong mailing list. I'm was trying out the example functions using TCL, but for function was not created. Here's the error: db=# CREATE FUNCTION tcl_max (int4, int4) RETURNS int4 AS ' if {$1 > $2} {return $1} return $2 ' LANG