Thread: user-defined types and inheritance

user-defined types and inheritance

From
Luiz Siqueira
Date:
I'm new with PostgreSQL and I have some doubts:

Need I use C to create a new type or can I use SQL
singularly?
When I use inheritance the new table inherited
Triggers from the super-table?

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/

Re: user-defined types and inheritance

From
David Fetter
Date:
On Fri, Aug 12, 2005 at 10:52:03AM -0300, Luiz Siqueira wrote:
> I'm new with PostgreSQL and I have some doubts:
>
> Need I use C to create a new type or can I use SQL singularly?

You can use SQL for some types, and need C for others.

> When I use inheritance the new table inherited Triggers from the
> super-table?

No.

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!