psycopg2
Good way to read csvData using psycopg2
I am trying to get a fast i.e. fast and not a lot of code, way to get csv data into postgres data base. I am reading into python using开发者_运维问答 csvDictreader which works fine. Then I need to gen[详细]
2023-01-13 07:11 分类:问答Help Installing psycopg2 on snow leopard : command '/usr/bin/gcc-4.0' failed with exit status 1
This has been driving me crazy for 2 days. I have been trying to install psycopg2 using开发者_Python百科 easy_install and no matter what I try (i.e using gcc-4.0 instead of the snow leopard default o[详细]
2023-01-11 03:26 分类:问答Postgres raises a "ACTIVE SQL TRANSACTION" (Errcode: 25001)
I use psycopg2 for accessing my postgres database in python. My function should create a new database, the code looks like this:[详细]
2023-01-10 20:12 分类:问答Python error - psycopg2: no appropriate 64-bit architecture?
I\'m running Mac OSX. Until today I had Python 2.6 with psycopg2 running just fine, I was using it with Django and Pylons. I\'ve just reintalled postgres (I don\'t know if this is connected) and sudde[详细]
2023-01-09 14:41 分类:问答Psycopg2 callproc and sql parameters
I got some S开发者_StackOverflow社区QL function CREATE OR REPLACE FUNCTION tools.update_company(IN company_id integer, OUT value integer)[详细]
2023-01-06 06:14 分类:问答Passing strings in value field in pyscopg2
Sorry this is a very newbie question.When I\'m trying to pass a tuple into an insert statement the quotations seem to disappear.[详细]
2023-01-06 02:06 分类:问答Installing psycopg2 (postgresql) in virtualenv on windows
I installed psycopg2 in virtualenv using easy_install psycopg2. I did not see any errors and looks like installation went fine.. there is an egg file created in the site-packages dir for psycopg2..[详细]
2023-01-03 02:18 分类:问答DatabaseError: current transaction is aborted, commands ignored until end of transaction block?
I got a lot of errors with the message 开发者_StackOverflow中文版: \"DatabaseError: current transaction is aborted, commands ignored until end of transaction block\"[详细]
2023-01-02 21:49 分类:问答psycopg2 can't find my python26 installation
I believe it\'s because I installed python using SciPy, so apparently it\'s not in the registry where the psycopg2 installer is looking. Anyway to fix this without installing python26 over the existin[详细]
2023-01-01 05:28 分类:问答Problem with insert and psycopg2
I\'m a newbie in Python and psycopg2 and have problems with a simple insert. This is my table: CREATE TABLE tabla[详细]
2023-01-01 05:19 分类:问答