On Sun, Apr 24, 2005 at 22:16:14 +0200, Zlatko Matic <zlatko.matic1@xxxxxxxxxxx> wrote: > I know that it sounds crazy, > but I need a bigserial coulumn in a view that is consisted of several tables. > That column should not be based on bigserial column of any table, but should be a calculated column... > How can I accomplish it ? This doesn't really make sense. It sounds like you want a key that is unique accross the union of several tables and that doesn't change when other rows in the union are added or removed. There are a couple of ways you might go about doing something like this. Is this what you really want? ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq