truncate problem - Mailing list pgsql-general

From frank_lupo
Subject truncate problem
Date
Msg-id HALRE3$EF9C9EBD569972723A32740DC9E62A33@email.it
Whole thread Raw
Responses Re: truncate problem  (Neil Conway <neilc@samurai.com>)
List pgsql-general
I change to 7.3.2 database postgresql from 7.2.2 version.
I am using cygwin:
PostgreSQL 7.3.2 on i686-pc-cygwin, compiled by GCC gcc (GCC) 3.2 20020927 (prerelease)

In 7.2.2 I created a function using the instruction TRUNCATE TABLE inside and it works well.

When I try to call the same function in 7.3.2, I receive the following message:
ERROR:  TRUNCATE TABLE cannot be executed from a function.

Thank you for the help





Bye !!
Frank Lupo (Wolf) !!

       /\_ _/\
       \ o o /
--ooo-----ooo---





--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Oro, argento, diamanti e pietre preziose: una miniera di meraviglie.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=772&d=20-2

pgsql-general by date:

Previous
From: "w.hoffmann"
Date:
Subject: PLESE UNSUBSKRIBE ME FROM THE LIST
Next
From: Richard Huxton
Date:
Subject: Re: Removing spaces