Malcolm Tredinnick wrote:
> On Wed, 2008-12-10 at 16:01 -0500, Raymond Cote wrote:
>
>> Hi Everyone,
>>
>> I'm having problems loading a custom PostgreSQL trigger function during
>> syncdb and not sure how to address this:
>> ...
> I suspect this is because the initial SQL option isn't really
On Wed, 2008-12-10 at 16:01 -0500, Raymond Cote wrote:
> Hi Everyone,
>
> I'm having problems loading a custom PostgreSQL trigger function during
> syncdb and not sure how to address this:
> The function (trimmed down) looks as follows:
>
> CREATE OR REPLACE FUNCTION probe_data_insert()
> RE
This sounds suspiciously similar to the problem I had with initial SQL
scripts in MySQL. In my case I was inserting rows into a table and one
of the string fields contained %. I had to "escape" the % (using %%).
I'm guessing that the SQL isn't directly executed but somehow
evaluated in the django.
Hi Everyone,
I'm having problems loading a custom PostgreSQL trigger function during
syncdb and not sure how to address this:
The function (trimmed down) looks as follows:
CREATE OR REPLACE FUNCTION probe_data_insert()
RETURNS SETOF trigger AS $$
DECLARE
ofs VARCHAR;
BEGIN
NEW.collect
4 matches
Mail list logo