From: | Tim Clarke <tim(dot)clarke(at)minerva(dot)info> |
---|---|
To: | "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: PG query |
Date: | 2022-03-14 12:57:05 |
Message-ID: | 92c088a9-c41e-384d-20f0-dedfffba6839@minerva.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On 14/03/2022 12:41, Nikhil Ingale wrote:
Hi
I'm trying to retrieve the data from different tables and store it in variables to display in tabular format in python. Can someone help here?
Regards,
Nikhil Ingale
The psycopg3 https://www.psycopg.org/psycopg3/ project will probably be what you need, you can get data from postgres into python using that in just a few lines.
Tim Clarke BSc (Hons), MBCS
IT Director
Direct: +44 (0)1376 504510 | Mobile: +44 (0)7887 563420
Telephone: Witham: +44(0)1376 503500 | London: +44 (0)20 3009 0853 | Frankfurt: +49 (0)69 7191 6000 | Hong Kong: +852 5803 1687 | Toronto: +1 647 503 2848
Web: https://www.manifest.co.uk/
Watch our latest Minerva Briefings on BrightTALK<https://www.brighttalk.com/channel/18792/?utm_source=brighttalk-sharing&utm_medium=web&utm_campaign=linkshare>
Minerva Analytics Ltd - A Solactive Company
9 Freebournes Court | Newland Street | Witham | Essex | CM8 2BL | United Kingdom
________________________________
Copyright: This e-mail may contain confidential or legally privileged information. If you are not the named addressee you must not use or disclose such information, instead please report it to admin(at)minerva(dot)info<mailto:admin(at)minerva(dot)info>
Legal: Minerva Analytics is the trading name of: Minerva Analytics Ltd: Registered in England Number 11260966 & The Manifest Voting Agency Ltd: Registered in England Number 2920820 Registered Office at above address. Please Click Here https://www.manifest.co.uk/legal/ for further information.
From | Date | Subject | |
---|---|---|---|
Next Message | Graham Myers | 2022-03-14 13:14:59 | RE: DB grow overtime with autovacuum (postgres 9.6.9) |
Previous Message | Nikhil Ingale | 2022-03-14 12:41:15 | PG query |