automatic scan a table, report on data formats in columns - Mailing list pgsql-sql

From Shaozhong SHI
Subject automatic scan a table, report on data formats in columns
Date
Msg-id CA+i5JwZOouL=egphkgziHL4R=_18J=9mw4aTQahiXgn+wT3y4g@mail.gmail.com
Whole thread Raw
Responses Re: automatic scan a table, report on data formats in columns  (Jian He <hejian.mark@gmail.com>)
Re: automatic scan a table, report on data formats in columns  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: automatic scan a table, report on data formats in columns  (Steve Midgley <science@misuse.org>)
List pgsql-sql
Is it possible to do the following?

automatically scan a table of all text columns
produce a report on data formats in columns as indicated in the following:

Column A                               Column B                   Column C 
alphabetic words/phrases     digits like xxxxx.xx      alphanumeric identifiers
City of London                       5 digits followed by a    iso12345
                                               decimal point and 2
                                               digits indicating precision


It is a bit like detecting regular expression patterns automatically.

Is automatically detecting something like regular expression patterns possible?

Regards,

David

pgsql-sql by date:

Previous
From: Karsten Hilbert
Date:
Subject: Aw: Re: Turn a json column into a table
Next
From: Jian He
Date:
Subject: Re: automatic scan a table, report on data formats in columns