Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSmwK-0004nj-1o for pgsql-general@arkaria.postgresql.org; Tue, 12 Jun 2018 17:18:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fSmwH-0000On-QJ for pgsql-general@arkaria.postgresql.org; Tue, 12 Jun 2018 17:18:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSmwH-0000Od-IU for pgsql-general@lists.postgresql.org; Tue, 12 Jun 2018 17:18:37 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fSmwE-0002yQ-6d for pgsql-general@postgresql.org; Tue, 12 Jun 2018 17:18:37 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9FDC5212C8; Tue, 12 Jun 2018 13:18:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 12 Jun 2018 13:18:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=2pOGAD6xogPQP1+3ub+oKhj5RN2Eh mkRg8WGv/oGU0E=; b=Y/oUDi9J80AjoV/9sURXy7LL0y0G1N3kmOQmJWQQROARW PaFU7OiztoN45Mz45IcB50hddetqgDZv4l8SnoPDww5emB+6ZO8hVkJrmWBmj41H q7dC/snC5f68c1EWlmDVIerSJnB2IhuEN6NySXpmHvYxS/Ny58qET+j2WZKH9e66 Syt3hJjaMhYfnQQFTyZNMKBwps3ma42I8BD0kgijt46o/Z4NWQqmsmRyeYm2IJcZ Y1K1DIXs3OCMuQ99x1juMZN2oOYe8cgddzYvufTj2AZV2AfB4S2F0G+ZNdgPjjfq Tm6HMTcUlr9oL12bEMAoaQODKeWU1lemW0HdmnVFg== 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-sender:x-me-sender:x-sasl-enc; s=fm3; bh=2pOGAD 6xogPQP1+3ub+oKhj5RN2EhmkRg8WGv/oGU0E=; b=mFGeWDpNJ+TmLnmFlFxTzG 9yvtkB6OeS65lcnF6+FGL6IjFiqS8557db4yiwRsL+JBtf181zwknR7oyRAzoHex a0WS7B0OSBf9HLU/wNpGhko9pWaHEjYOLORIpYflA3vBt+o/zWIN+tZ0mFGCKbD2 UoOuhoM3Fp6Co/GRoa499z2562gyUePpIG0+rS3LBsqryowZP/xgsyvdTFwScmnc H6d0A+RlbCqL9Y5rnORHFXmS1vELIDMYxe+JUieTGulWsc2Hj+NB0vhBSP9tpFxZ kPOgexlQi5i2UV2rnW8bde/R9CRYNOGWXrzu8tPdGv3rdSgj0sAuL+E0z5Zd/asg == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from ranger.suse (74-93-105-186-washington.hfc.comcastbusiness.net [74.93.105.186]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EC8DE4B67; Tue, 12 Jun 2018 13:18:31 -0400 (EDT) Subject: Re: Software that can automatically make sense of a DB's tables and ID names To: phil@pricom.com.au, pgsql-general References: From: Adrian Klaver Message-ID: Date: Tue, 12 Jun 2018 10:18:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 06/12/2018 10:14 AM, Philip Rhoades wrote: > People, > > I haven't really been keeping up with what is happening in the PG world > - now I have an old Discourse DB that I want to extract some of the > categories and topics from to insert into the current setup.  What I was > wondering is if anyone has developed software in recent years that can > look at the DB as a whole and automatically make sense of how all the > tables relate to each other - assuming a sensible naming convention has > been used for IDs etc - and allows one to browse the tables easily > without having to manually type lots of SQL statements. There are but the paragraph below seems to indicate you want something else. > > Discourse now has a utility for exporting and importing to do this sort > of stuff but I don't have a running setup for the old data - just a data > dump . . So you want a tool to look at a data dump and build SQL? > > Thanks, > > Phil. -- Adrian Klaver adrian.klaver@aklaver.com