Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 1CCF16342A2 for ; Thu, 17 Sep 2009 10:59:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04022-01 for ; Thu, 17 Sep 2009 13:59:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C878F633B3C for ; Thu, 17 Sep 2009 10:59:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n8HDxTFE010007; Thu, 17 Sep 2009 09:59:29 -0400 (EDT) To: rawi cc: pgsql-sql@postgresql.org Subject: Re: Hibernate, web application and only one sequence for all primary keys In-reply-to: <25490498.post@talk.nabble.com> References: <25490498.post@talk.nabble.com> Comments: In-reply-to rawi message dated "Thu, 17 Sep 2009 05:47:38 -0700" Date: Thu, 17 Sep 2009 09:59:29 -0400 Message-ID: <10006.1253195969@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/75 X-Sequence-Number: 33140 rawi writes: > Grails/Hibernate wishes per default one sequence for all tables-PKs and all > PKs as BigInt. Redesign that software; this is fundamentally broken and stupid. regards, tom lane