Insert results in 0 1

From: Sherman Willden <operasopranos(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Insert results in 0 1
Date: 2018-01-16 00:57:14
Message-ID: CAGv-wXGh8kN-V+3yyJkSJzWhy_mEjpJWNTk73h0XMaefBcC2Vg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Computer HP Compaq 6710b
Development Platform: Ubuntu 17.10 mainly command line work
Tools: perl 5.26 and postgresql 9.6

Why do I get a 0 1 when using insert?

Thanks;

Sherman
classical=# INSERT INTO string_groups VALUES('et_b_02', 'Sonata in B
minor', 'Eroica Trio', 'Jean Baptiste Loeillet', 'Baroque');
INSERT 0 1
classical=# INSERT INTO string_groups VALUES('et_b_02', 'Sonata in B
minor', 'Eroica Trio', 'Jean Baptiste Loeillet', 'Baroque');
ERROR: duplicate key value violates unique constraint "string_groups_pkey"
DETAIL: Key (id)=(et_b_02) already exists.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Neto pr 2018-01-16 01:35:07 Re: why SSD is slower than HDD SAS 15K ?
Previous Message NTPT 2018-01-16 00:54:55 Re: why SSD is slower than HDD SAS 15K ?