Re: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
Hi, Today morning I told you about the MODULAR Database Actions, also I pointed you to: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions There you can find ALL the info about how to do what you mean. Also I can work with sequence (you told before you use PostgreSQL 7.2). Sheraz Sh

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
Hi! The problem is solved using Modular Database Actions. More info at: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions Antonio Gallardo Sheraz Sharif dijo: > I am using postgresql 7.2.. > > I am not sure what you mean. Are you talking about making the database > run a trigger b

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Kazmir, Jaroslav
: [EMAIL PROTECTED] Subject: RE: DatabaseAddAction and unique or primary keys I am using postgresql 7.2.. I am not sure what you mean. Are you talking about making the database run a trigger before the insert happens? If so, I do not think that will solve my problem. I want cocoon to realize

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
I am using postgresql 7.2.. I am not sure what you mean. Are you talking about making the database run a trigger before the insert happens? If so, I do not think that will solve my problem. I want cocoon to realize that there already exists that specific value in the table, and notify the user

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Kazmir, Jaroslav
Which type of database you use? Isn't it easily to use before insert trigger? JayKay -Original Message- From: Sheraz Sharif [mailto:[EMAIL PROTECTED]] Sent: Freitag, 07. Februar 2003 12:19 To: [EMAIL PROTECTED] Subject: DatabaseAddAction and unique or primary keys Hello all, Sorry if