Re: [GENERAL] Love Your Database project — Thoughts on effectively handling constraints?

From: Kevin Grittner <kgrittn(at)gmail(dot)com>
To: Guyren Howe <guyren(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] Love Your Database project — Thoughts on effectively handling constraints?
Date: 2016-12-17 14:08:54
Message-ID: CACjxUsM45XJ+pOcWT2hsG3_r6kxZTzJtCOqN-+Cxj26y6FABzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 16, 2016 at 3:54 PM, Guyren Howe <guyren(at)gmail(dot)com> wrote:

> What I need to do is turn this into something similar to the equivalent
> Rails-side constraint failure, which is a nicely formatted error message on
> the model object.

Can you show what the text in such a message looks like?

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Arup Rakshit 2016-12-17 15:25:34 SQL query problem of a Quiz program
Previous Message Charles Clavadetscher 2016-12-17 07:49:43 Re: Delete from table conditionally