gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] BILLABLE


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] BILLABLE
Date: Thu, 9 May 2013 21:15:05 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 09, 2013 at 06:49:09PM +0530, Vaibhav Banait wrote:

> I get following errors when I execute
> following lines for adding
> billing items into gnumed > INSERT INTO ref.data_source (name_long,
> name_short, version, source) values
> ('Indian Billing', 'VBIB', '2013', 'Vaibhav
> Banait'); Error :ERROR: duplicate key value violates
> unique constraint "data_source_pkey"
> SQL state: 23505

Very likely you ran the script more than once and you
probably uncommented the following:

        -- finalize transaction --
        -- uncomment this once you are satisfied your script works:
        --COMMIT;
        -- ---------------------------------------------------------

before it was true ?

Attached find an improved script.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

Attachment: install-data-pack.Indian_Billing.sql
Description: application/sql


reply via email to

[Prev in Thread] Current Thread [Next in Thread]