Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iOsNM-0007Ld-CD for pgsql-general@arkaria.postgresql.org; Sun, 27 Oct 2019 23:55:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iOsNJ-0000A3-6R for pgsql-general@arkaria.postgresql.org; Sun, 27 Oct 2019 23:55:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iOsNH-00009u-86 for pgsql-general@lists.postgresql.org; Sun, 27 Oct 2019 23:55:08 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iOsN8-0001zl-OX for pgsql-general@postgresql.org; Sun, 27 Oct 2019 23:55:05 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8545222502; Sun, 27 Oct 2019 19:54:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 27 Oct 2019 19:54:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Q RUlnzrlFXxuifKxOcOp/U40Eja0Lx3B1J1NXnSr6Zk=; b=xogR79UrBkQVzTbla HyrxhVNtCPN+PCaOw5QSneJaZQRxOcupD1cyU1PcCDciaiD1hujOjpW+xbIIoB3z NwB6EiBlvNmhg+EXSm0W7KgnVKIWXmLHf1631qgKkiMR62SmnJqS+/Nr5tgAgmLv 18hDAGD+qW/HJF2fJBY2Sy6jpts+DWwgR01W9qz998lmPxdk3lGmeRAest6pUTzA Yz8jw50MLgJBVEpqZcn+94Q8EHluCbXvmCRRKnsrp9YqjvGWx2Y6WoP81fIpVlvB 1TrGBEayR5mO2xHgtm9fWTylETovNRqb04blnesJcN56clKxAVERLbG0lnZ10BSm vFEtg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=QRUlnzrlFXxuifKxOcOp/U40Eja0Lx3B1J1NXnSr6 Zk=; b=F1TE8NHjVXyTi/Zgj/g2dbrrTJE7yaRDy2aE7W+E2Txw0wpGrSYECVAmX WNPkPWwu4QJW2cge+nCTKmDzdIBuEQusKg7jU2bmxMAhzufDkSITA6sQmimUbG4k PSzynksq/EfDfQLiJddc0lCuKzu8bEm9LOPVkADVQ4bjhTLmgNfHF+Y7frX3QGrq E58y/g2l95Lq6y6sgiDYTPdUBkpzh0DPpC9zz/I886iqLJxObIQ8CKJCzNPp2jVY UbHcsHwFe/moJAkC1mXFTHwB8Qc5e2sZLpAxwKNEdgZr7aW4LsuVvDETa0dn0pH3 tmY7qUsfnbvaiIDVrrOrOgh+DhuYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrleekgdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepuggrrhholhgurdhnvg htpdhsohhurhgtvghfohhrghgvrdhnvghtnecukfhppeejuddrvdduvddrudeffedrudek leenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklh grvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.133.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 8AFF580059; Sun, 27 Oct 2019 19:54:55 -0400 (EDT) Subject: Re: SQL pretty pritner? To: stan , pgsql-general@postgresql.org References: <20191027222148.GA5113@panix.com> From: Adrian Klaver Message-ID: <709b46e8-777a-c9eb-d587-c9eecfa011c6@aklaver.com> Date: Sun, 27 Oct 2019 16:54:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191027222148.GA5113@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/27/19 3:21 PM, stan wrote: > I have a presentation later in the week, and i plan on printing out some > files containing SQL commands. I have used some "pretty printers" in the > past for things like Perl scripts. What I am thinking of s something that > bolds keywords, handles page breaks, and does some formatting. > > Development being done in an Ubuntu Linux environment. > > Anyone have a recommendation? http://sqlformat.darold.net/ https://sourceforge.net/projects/pgformatter/ > -- Adrian Klaver adrian.klaver@aklaver.com