Re: [GENERAL] cannot create table using pl/perl

2006-08-13 Thread Michael Fuhr
On Sat, Aug 12, 2006 at 02:04:42PM -0700, Jim Bryan wrote: > Installed latest postgresql 8 on windows xp, > everything works fine with pl/pgsql; problems creating > a table with perl however: > > CREATE OR REPLACE FUNCTION datetable() RETURNS integer > AS $$ > CREATE TABLE tabletest > ( > da

[GENERAL] cannot create table using pl/perl

2006-08-13 Thread Jim Bryan
Installed latest postgresql 8 on windows xp, everything works fine with pl/pgsql; problems creating a table with perl however: CREATE OR REPLACE FUNCTION datetable() RETURNS integer AS $$ CREATE TABLE tabletest ( dayofmonth int4, monthofyear int4, theyear int4 ) $$ LANGUAG