X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9EB8E9DCC91 for ; Tue, 29 Nov 2005 10:57:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33152-05 for ; Tue, 29 Nov 2005 10:57:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail47.e.nsc.no (mail47.e.nsc.no [193.213.115.47]) by postgresql.org (Postfix) with ESMTP id 234889DCC87 for ; Tue, 29 Nov 2005 10:57:12 -0400 (AST) Received: from [192.168.0.57] (062016183238.customer.alfanett.no [62.16.183.238]) (authenticated bits=0) by mail47.nsc.no (8.13.5/8.13.5) with ESMTP id jATEvEAZ011185 for ; Tue, 29 Nov 2005 15:57:15 +0100 (CET) From: "Leif B. Kristensen" To: pgsql-sql@postgresql.org Subject: Re: Strange bug Date: Tue, 29 Nov 2005 15:57:13 +0100 User-Agent: KMail/1.8.1 References: <200511291531.30441.leif@solumslekt.org> <20051129144350.GO31026@webserv.wug-glas.de> In-Reply-To: <20051129144350.GO31026@webserv.wug-glas.de> X-Face: %iea8o"[SI'kMDS.`hz7lU=?\^lC9J-]CVjo; f{4-C:$?uVUEjyN~uYFn%*aH_c3d09U>=?utf-8?q?x=0A=09TXtaoj=7EMV=2E8PgG7hik9=3BcCT2N6+u?=@Y{wH\p3*_f~FH9k,Wi74e[_l%.7b^'zJ)8S'^G<(=?utf-8?q?=3D=0A=09zw8=5CPMC3=27=7BKl9=2EzL*ks!b6wA?=,c~'F`k&Vq|ELDGa|4 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[AWL=0.000] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/273 X-Sequence-Number: 23524 On Tuesday 29 November 2005 15:43, A. Kretschmer wrote: >> I got an error when I transferred the data to my Web database >> running MySQL: > >MySQL is a other RDBMS. You can't expect that all features from >PostgreSQL are working with MySQL. > >> ERROR 1062 at line 19839 in file: 'ss_relation_citations.sql': >> Duplicate entry '64062' for key 1 > >My guess: MySQL can't handle inheritance. No, it doesn't. Therefore, I have a quite different table structure in the MySQL database, and it caught the error because of the very fact that the citation_id is a genuine primary key in the receiving MySQL table. -- Leif Biberg Kristensen | Registered Linux User #338009 http://solumslekt.org/ | Cruising with Gentoo/KDE