Re: Is there a way to automatically scan a table and determine the format of data

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Is there a way to automatically scan a table and determine the format of data
Date: 2022-02-16 10:03:36
Message-ID: YgzL+IcClGNhBr72@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Am Wed, Feb 16, 2022 at 01:27:56AM +0000 schrieb Shaozhong SHI:

> Is there a way to automatically scan a table and report the format of data
> for each column?

pg_class

But you may want to rethink the approach given that you use Python.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

In response to

Browse pgsql-general by date

  From Date Subject
Next Message celati Laurent 2022-02-16 10:30:22 How to disable read-only mode on a table? (superUser)
Previous Message Shaozhong SHI 2022-02-16 02:13:55 Is there a way to automatically scan a table and determine the format of data

Browse pgsql-sql by date

  From Date Subject
Next Message Shaozhong SHI 2022-02-17 22:38:41 Advancing the capability of Postgres and PostGIS
Previous Message Karsten Hilbert 2022-02-16 10:01:37 Re: Try catch error, return data