Re: Separate Sessions?? (View data <-> Query tool)

From: "Willy-Bas Loos" <willybas(at)gmail(dot)com>
To: Csaba Együd <csegyud(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Separate Sessions?? (View data <-> Query tool)
Date: 2008-11-27 08:36:36
Message-ID: 1dd6057e0811270036s67a6b8baqda17273b0484e53d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-general

>The problem is that my triggers refuse modifying a record if a given Temp
table is not created before, because one or more fields have their default
values from that temp table

So why don't you either use a normal table, or if you need simultaneous use
of the trigger with different values, use an array instead of a table. Or
you might create the temp table in the trigger function..
If you create a normal table you can still delete it afterwards.

hth
WBL
--
"Patriotism is the conviction that your country is superior to all others
because you were born in it." -- George Bernard Shaw

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Csaba Együd 2008-11-27 14:06:00 Re: Separate Sessions?? (View data <-> Query tool)
Previous Message Csaba Együd 2008-11-26 11:25:21 Re: Separate Sessions?? (View data <-> Query tool)

Browse pgsql-general by date

  From Date Subject
Next Message Tomasz Ostrowski 2008-11-27 09:25:24 Re: In memory Database for postgres
Previous Message Abdul Rahman 2008-11-27 07:43:25 Re: PgAgent Job Scehduler is NOT running