Re: database design questions

From: Ottavio Campana <ottavio(at)campana(dot)vi(dot)it>
To: hubert depesz lubaczewski <depesz(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: database design questions
Date: 2006-04-04 12:59:12
Message-ID: 44326DA0.5030009@campana.vi.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hubert depesz lubaczewski wrote:
> 2) do you think it's possible in a plpgsql procedure select the name of
> a table into a variable and use that variable in the query?
> possible, but not really good way. read about 'execute' in plpgsql.

why isn't it good?

I mean, from my point of view is like a function accepting a pointer. In
many languages it is used.

--
Non c'è più forza nella normalità, c'è solo monotonia.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ycrux 2006-04-04 13:02:19 functions behaviours
Previous Message Anastasios Hatzis 2006-04-04 12:55:42 Self-referencing and inherited table