Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TsCdN-0004rQ-9v for pgsql-admin@arkaria.postgresql.org; Mon, 07 Jan 2013 13:20:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TsCdM-0000bb-2c for pgsql-admin@arkaria.postgresql.org; Mon, 07 Jan 2013 13:20:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrCI0-0000E6-HE for pgsql-admin@postgresql.org; Fri, 04 Jan 2013 18:46:44 +0000 Received: from graphite.accessaxis.com ([71.42.172.75]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrCHx-0005j0-IO for pgsql-admin@postgresql.org; Fri, 04 Jan 2013 18:46:44 +0000 Received: by graphite.accessaxis.com (Postfix, from userid 1001) id 0A93723D39; Fri, 4 Jan 2013 11:46:40 -0700 (MST) Date: Fri, 4 Jan 2013 11:46:40 -0700 From: Greg Schenzel To: pgsql-admin@postgresql.org Subject: Re: Mapping a Data File Back to a Table Message-ID: <20130104184639.GA12422@graphite.accessaxis.com> References: <20130104180933.GA21370@graphite.accessaxis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20130104180933.GA21370@graphite.accessaxis.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It was stored in pg_largeobject based on the OID. On Fri, Jan 04, 2013 at 11:09:33AM -0700, Greg Schenzel wrote: > So I've been digging through a database on an embedded device for two > days trying to figure out which table some data is stored in. There > are litterally 1000 tables in the database and I haven't come across > the right one(s) yet. I know that the data I'm looking for is stored > in /var/lib/pgsql/data/base/16384/2613 from strings and grep. Is there > any way to map this back to a table or group of tables? Any insight > would be greatly appreciated! >=20 --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlDnI48ACgkQ2ua/BJvbazf4dACffme1NhqFDod1oSAyDM/h39fq G+EAn2uO7ZLx3Q93q0doAmXsynLZatwg =yGZl -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--