Hi team,
I'm new in Postgres and I tried creating a stored procedure which performs numerous update procedure. As I compiled it, I was given the following error:
psql:storedproc .sql:33: ERROR: language "plpgsql" does not exist
HINT: You need to use "createlang " to load the language into the database.
So I tried to execute this code but nothing was returned:
>createlang plpgsql workdb
Thinking that everything was okay (since no error or confirmation was returned), I begin to recompile my function.
workdb-# \i storeproc.sql
storeproc.sql: ¤½¤Î¤è¤¦¤Ê¥Õ¥¡¥ ¤¥ë¤ä¥Ç¥£¥ì¥¯¥È ¥ê¤Ï¤¢¤ê¤Þ¤»¤ó
But was given that weird msgs. I am using a Japanese OS and I am not sure if this is related to it. To anyone who knows about this problem, your help would be greatly appreciated. :-)
I'm new in Postgres and I tried creating a stored procedure which performs numerous update procedure. As I compiled it, I was given the following error:
psql:storedproc .sql:33: ERROR: language "plpgsql" does not exist
HINT: You need to use "createlang " to load the language into the database.
So I tried to execute this code but nothing was returned:
>createlang plpgsql workdb
Thinking that everything was okay (since no error or confirmation was returned), I begin to recompile my function.
workdb-# \i storeproc.sql
storeproc.sql: ¤½¤Î¤è¤¦¤Ê¥Õ¥¡¥ ¤¥ë¤ä¥Ç¥£¥ì¥¯¥È ¥ê¤Ï¤¢¤ê¤Þ¤»¤ó
But was given that weird msgs. I am using a Japanese OS and I am not sure if this is related to it. To anyone who knows about this problem, your help would be greatly appreciated. :-)
Comment