Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4A062642889 for ; Tue, 15 Jun 2010 18:39:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 72523-02 for ; Tue, 15 Jun 2010 21:39:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gw0-f46.google.com (mail-gw0-f46.google.com [74.125.83.46]) by mail.postgresql.org (Postfix) with ESMTP id 1559B686031 for ; Tue, 15 Jun 2010 18:14:52 -0300 (ADT) Received: by gwj15 with SMTP id 15so3597375gwj.19 for ; Tue, 15 Jun 2010 14:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fNTX3WAR/PPjGKNBvSpEGpxfCXxJGqEW7VwIF8eDz4E=; b=DalRRlG8GDEN4B/3Ed/JxJf5mVpAe1756h2iWyMDCs2uSAY5Qc439hA9LXrdLZyCO+ wZqbTEpqsOp0ze1w1HmGrtYYJE5uksEzheJRSq01/wWyRLOSnAX4EEVfPpeAzGSKx5me V7qE241NrUsJAg09aXde4k4dvAms/MMGkc1bc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=W9q571DgyfAH8pUOyU70YI9TYZQkoeO+57tEJKh2B1HSc5cYfppzwed8UWo5uR7OJf HZWVo2vlafh060yFVdcw02T0uuSj0u+rT2h9SI8OESJi4ZZM9iogH4CNnUrpHJ6k+Zh5 5KEVHgmpVaempirUWH/ESik65to3MC9+9HLs4= MIME-Version: 1.0 Received: by 10.150.244.11 with SMTP id r11mr8867059ybh.366.1276636491707; Tue, 15 Jun 2010 14:14:51 -0700 (PDT) Received: by 10.151.13.3 with HTTP; Tue, 15 Jun 2010 14:14:51 -0700 (PDT) In-Reply-To: <20100615201915.GK21875@tamriel.snowman.net> References: <4C17CFF0.5050300@ttitech.net> <201006151954.o5FJsxO14357@momjian.us> <20100615201915.GK21875@tamriel.snowman.net> Date: Tue, 15 Jun 2010 15:14:51 -0600 Message-ID: Subject: Re: oracle to postgres migration question From: Scott Marlowe To: Stephen Frost Cc: Bruce Momjian , Joshua Gooding , pgsql-sql@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201006/54 X-Sequence-Number: 34245 On Tue, Jun 15, 2010 at 2:19 PM, Stephen Frost wrote: > * Bruce Momjian (bruce@momjian.us) wrote: >> Joshua Gooding wrote: >> > Hello, >> > >> > I'm looking for the postgres equivalent of oracles: set numwidth >> > command. =A0Is there an equivalent? >> >> If we knew what it did, we might be able to help you. > > Changes the display-width for numeric values. =A0SQL*Plus will then > right-justify the number based on the numwidth value. Note that psql automagically right justifies numerics and dynamically sizes all columns so you don't have to do as much of this stuff. Oracle always made me feel like I was operating the machine behind the curtain in the Wizard of Oz, lots of handles and switches and knobs I had to mess with to get useful output.