/PostgreSQL-driver-source

Modify the postgreSQL driver source to return outputs in JSON string format

Primary LanguagePython

1.These are the necessary connection parameters:
    host="127.0.0.1",
    port="5432",
    database="postgres_db",
    user="postgres",
    password="jk3191"
2.Ensure that PostgreSQL is installed and running on your machine.
3.Install 'psycopg2' using this command 'pip install psycopg2'
  library which is required for connecting to the PostgreSQL 
  database and executing SQL queries.
4.Execute the driver script, either through the terminal or
 by running the script directly from the code 
 editor using - 'python postgresql_json_driver.py'