PostgreSQL script

Velmurugan 1 Reputation point
2022-07-01T06:30:26.337+00:00

@AnuragSharma-MSFT, As discussed I'm starting a new thread inorder to get the PostgreSQL script.

The script should have the details to collect all the data information such as object count, row count, parameter values, namespace, constraints etc. In other words, the script should collect all the information about the Souce postgreSQL database. This will be helpful in order to validate everything once the Migration is completed.

Thanks,
Velmurugan

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. si li 20 Reputation points
    2023-05-31T01:18:32.1566667+00:00

    You can refer to system view information_schema.tables and system catalog pg_catalog.pg_class.

    Write any SQL query as you want.

    thanks.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.