|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
How to read from a PostgreSQL Python I am using python but i don't know how to Read a PostgreSQL Database adapter for the Python programming language. It was written from scratch with the aim of being very small and fast, and stable as a rock. I have set myself as database administrator and operating system consultant by trade. But unable to go forward. |
#2
| |||
| |||
Re: How to read from a PostgreSQL Python psycopg is a PostgreSQL database adapter for the Python programming language. Its main advantages are that it supports the full Python DBAPI 2.0 and it is thread safe at level 2. Execution within a transaction is a very good thing; it ensures data integrity and allows for appropriate error handling. However there are queries that can not be run from within a transaction. |
#3
| |||
| |||
Re: How to read from a PostgreSQL Python psycopg is a PostgreSQL database adapter for the Python programming language (just like pygresql and popy.). If you would like your program to take input from the keyboard, you will also want to import the sys module. Its main advantages are that it supports the full Python DBAPI 2.0 and it is thread safe at level 2. The psycopg distribution includes ZPsycopgDA, a Zope Database Adapter. It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. |
#4
| |||
| |||
Re: How to read from a PostgreSQL Python psycopg 2 is an almost complete rewrite of psycopg. psycopg is different from the other database adapter because it was designed for heavily multi-threaded applications that create and destroy. It supports all the features of psycopg which is different from the other database adapter because and was designed for heavily multi-threaded applications, but add real adaptation for Python to PostgreSQL type conversions, asynchronous queries, support for the Python built-in datetime module and the new (Python 2.4) Decimal type. |
![]() |
|
Tags: database, database administrator, postgresql, python |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to connect to Postgresql database | Xziibit | Software Development | 5 | 05-08-2011 02:01 PM |
Improvements in PostgreSQL 8.3 | Calan | Software Development | 5 | 18-11-2010 04:07 AM |
How to read a file in reverse order in python? | MKAIF | Software Development | 5 | 20-02-2010 06:56 PM |
ClassNotFoundException Error in PostgreSQL | Nurhan | Software Development | 3 | 06-03-2009 12:51 PM |
Download Python 3.0 / Python 3000 | Amaresh | Software Development | 6 | 24-02-2009 09:28 AM |