Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 009F76327D4 for ; Mon, 13 Jul 2009 18:20:38 -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 84615-01 for ; Mon, 13 Jul 2009 18:20:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f195.google.com (mail-pz0-f195.google.com [209.85.222.195]) by mail.postgresql.org (Postfix) with ESMTP id 6D91A6332EC for ; Mon, 13 Jul 2009 18:20:27 -0300 (ADT) Received: by pzk33 with SMTP id 33so1900977pzk.15 for ; Mon, 13 Jul 2009 14:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=f9YgeiisigRoktXoHdicvkOcsuE4rVLjNthzrcEi0mI=; b=N5BUahoUOwCqheKaGDNrT3x7vOJiMGrR0lSj7Pm/dQlTcRCLukpTjhogl7WeGBTQU5 7vAyIYU2recSISk9IWCxGo8c+OW+43oGBF4YAtn6A/KOOGZy9iCfAAnMdczONg9W8EPp gA+V9b5hqH8GkXFcn83lxxDfu/Tm3qniamPp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=bmAwIEP/t9tojA6E71OSW1Tgo4NHCCBdJVMZpPbDmEH0QSCSMkdtyokqEIaSVB072G 8T+4vhgzoZAUnnGeCmeANwGDNuKxcrgyibrQRu/fC/wgRgOCGZlz8lzMnzy00D7Mpyhh 93ym6cuMo+qwP38kWDkzzWlCgqWrK38XzVd8w= MIME-Version: 1.0 Received: by 10.143.16.9 with SMTP id t9mr1388549wfi.45.1247520026064; Mon, 13 Jul 2009 14:20:26 -0700 (PDT) In-Reply-To: References: From: David Rees Date: Mon, 13 Jul 2009 14:20:06 -0700 Message-ID: <72dbd3150907131420j6647cbf6o56fac1acbe60d7f@mail.gmail.com> Subject: Re: Java long To: "Campbell, Lance" Cc: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200907/26 X-Sequence-Number: 19794 On Mon, Jul 13, 2009 at 12:04 PM, Campbell, Lance wrote: > If I want to use a primitive type of "long" in java what should the > PostgreSQL table field type be defined as? Perhaps these links to the documentation would help you figure it out... http://www.postgresql.org/docs/8.4/interactive/datatype-numeric.html http://java.sun.com/javase/6/docs/api/constant-values.html#java.lang.Long.MAX_VALUE http://java.sun.com/javase/6/docs/api/java/lang/Long.html -Dave