Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 888636860D7 for ; Tue, 15 Jun 2010 17:39:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 69333-03-6 for ; Tue, 15 Jun 2010 20:39:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tamriel.snowman.net (tamriel.snowman.net [72.66.115.51]) by mail.postgresql.org (Postfix) with ESMTP id 51ACF641A3B for ; Tue, 15 Jun 2010 17:17:38 -0300 (ADT) Received: by tamriel.snowman.net (Postfix, from userid 1000) id 4C71B229C9; Tue, 15 Jun 2010 16:17:36 -0400 (EDT) Date: Tue, 15 Jun 2010 16:17:36 -0400 From: Stephen Frost To: Joshua Gooding Cc: pgsql-sql@postgresql.org Subject: Re: oracle to postgres migration question Message-ID: <20100615201736.GJ21875@tamriel.snowman.net> References: <4C17CFF0.5050300@ttitech.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sZkBou3qhTwqMPxG" Content-Disposition: inline In-Reply-To: <4C17CFF0.5050300@ttitech.net> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/2.6.26-1-amd64 (x86_64) X-Uptime: 16:16:37 up 292 days, 7:41, 28 users, load average: 0.30, 0.20, 0.12 User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.51 tagged_above=-5 required=5 tests=BAYES_05=-0.5, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/52 X-Sequence-Number: 34243 --sZkBou3qhTwqMPxG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Joshua Gooding (JGooding@ttitech.net) wrote: > I'm looking for the postgres equivalent of oracles: set numwidth =20 > command. Is there an equivalent? Nothing really equivalent, I don't believe.. You would need to wrap the column(s) you care about using to_char(). Thanks, Stephen --sZkBou3qhTwqMPxG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkwX3+AACgkQrzgMPqB3kihjGgCdGV6Pzv2aj7EykQS3d9TUvOxb ba8AnAsaxKsNzNTB/8Qtk9IpEuC604c5 =HRVr -----END PGP SIGNATURE----- --sZkBou3qhTwqMPxG--