Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Activity (RSS)

Sunday, February 06 2011
38 Review binary typecasters in Py3 was updated
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 1:52 PM

    Added optional "binary" parameter to create_type and to the typecaster type. If true, the python typecaster will receive a bytes object, otherwise will receive ...

Saturday, February 05 2011
36 Review copy out was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 2:40 PM

    Fixed checking if the file implements io.TextIOBase (both in Py2 where available and in Py3).

33 Fetch many records at time in iter() on named cursors was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 2:39 PM

    Fixed. Using arraysize to choose how many records to fetch.

Thursday, February 03 2011
39 Support for bind parameters in copy_expert() was updated
  • Daniele Varrazzo
    • Tag set to copy, feature
    by Daniele Varrazzo at 9:10 PM

    You can use mogrify to generate the query safely.

    http://initd.org/psycopg/docs/cursor.html#cursor.mogrify

    I'd rather avoid complicating further the copy area. ...

  • Giles Brown
    Giles Brown created the ticket at 4:56 PM

    I'm working on something that uses copy_to/copy_expert to fetch query results into a file, but I'd like to be able to pass bind parameters so that I can feel co...

Tuesday, February 01 2011
37 copy_from does not stop reading after an error was updated
  • Nicolas Grilly
    Nicolas Grilly commented at 12:57 PM

    I have tested again the \copy command of psql and, contrary to what I wrote before, it looks like psql does not stop reading after an error either, and has to r...

  • Nicolas Grilly
    Nicolas Grilly commented at 11:40 AM

    I have ran the same script with pg8000, and it does not stop reading after an error either... Maybe it is not a bug, and just a limitation of the PostgreSQL pro...

  • Federico Di Gregorio
    Federico Di Gregorio created the ticket at 10:39 AM

    It looks like copy_from does not stop reading after an error. When the input file is short, it is okay. But when the input file is very long, it is really borin...

38 Review binary typecasters in Py3 was created
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 11:08 AM

    In current Py3 implementation the typecaster receive a decoded string. This means that is basically impossible to have a binary typecaster in python.

    Idea: add ...

32 Still a segfault in psycopg.Timestamp on 64 bits was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 2:27 AM

    Fixed, the sucker...

    Seems due to a format "l" instead of "i" to parse an input. Fixed in commit a2dcf504.

Thursday, January 27 2011
27 Bug in 2.3.2 when connecting via pgpool? was updated
  • Daniele Varrazzo
    Daniele Varrazzo commented at 11:32 AM

    Hi Kevin,

    Have you done any progress studying this problem? I've not been able to play with pgpool yet.

    My understanding is that your listen command will go to ...

Sunday, January 23 2011
30 ZPsycopgDA Icon lookup broken was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 11:32 PM

    Fixed by pumukel, committed by fog.

36 Review copy out was created
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 11:32 PM

    Currenty _pq_copy_out_v3 is using PyObject_CallFunction(func, "s#", buffer, len) to pass data read from the db to the file: this implies utf8 encoding, so would...

Monday, January 17 2011
35 Add support to libpq version query was created
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 3:33 PM

    Can be for the version we compiled against and the runtime one since pg 9.1.

34 Problems installation in windows 7 was updated
  • Daniele Varrazzo
    • Tag changed from rel-2.3.2 to rel-2.3.2, windows
    by Daniele Varrazzo at 11:58 AM

    Hi,

    this is really too little information to understand what's going on. Can you tell at least what python version are you using, and if it's 32/64 bits?

Sunday, January 16 2011
34 Problems installation in windows 7 was created
  • Psycopg website
    Psycopg website created the ticket at 7:41 PM

    Submitted by: Juan Ginard

    Good afternoon, I want to do a consultation to them. I am trying to install psycopg2-2.3.1 in Windows 7 and it gives an error me:
    The ...

Friday, January 14 2011
20 Building psycopg2 for Python 2.7 on Windows XP was updated
  • Jason Erickson
    Jason Erickson commented at 5:58 PM

    Note: This issue applies to Python 2.6 and Python 2.7 builds built with MSVC

    Quick Overview


    The problem is that the psycopg.pyd does not have a ‘link’ to the V...

Thursday, January 13 2011
33 Fetch many records at time in iter() on named cursors was created
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 4:10 PM

    Using named cursor, records are fetched one at time, with a lot of network roundtrips. A more efficient way of fetching data is using fetchmany.

    There may be a ...

32 Still a segfault in psycopg.Timestamp on 64 bits was created
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 4:04 PM

    The segfault is still in the python2/python3 repos after merged the 'noleak' branch.

    Segfault with python 2.5 64 bits compiled with gcc 4.3.2, but not with 4.4....

Tuesday, January 11 2011
20 Building psycopg2 for Python 2.7 on Windows XP was updated
  • JamesD
    JamesD commented at 11:17 PM

    I just wanted to comment that the instructions given above worked perfectly for myself.

    @Bright_pan. It sounds like you still need to run "build" or "install". ...

Sunday, January 09 2011
20 Building psycopg2 for Python 2.7 on Windows XP was updated
  • bright_pan
    bright_pan commented at 7:03 AM

    i recompiled the package successful on windows sp3 using mingw32, but i found output file _psycopg.pyd only 127KB, and that file in the official package is 1MB,...

Sunday, January 02 2011
26 Failed adaptation for None in composite types was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 11:45 AM

    Issue resolved in my repos. To be released.

Saturday, January 01 2011
28 Lighthouse support was updated
Thursday, December 23 2010
20 Building psycopg2 for Python 2.7 on Windows XP was updated
  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:56 AM

    In ticket #31 it is reported this is not a 2.7 only problem.

    psycopg 2.0.14 works fine. 2.2.1 and 2.3.2 both have this problem.

    Running Windows, Python 2.6.5, ...

31 ImportError: DLL load failed: The specified module could not be found. was updated
  • Daniele Varrazzo
    • State changed from new to invalid
    • Tag changed from rel-2.2.2 to apache, rel-2.2.2, windows
    by Daniele Varrazzo at 12:55 AM

    I think this is a duplicate of #20.

    There is some weird dll interaction. Ticket #20 contains more informations, but not a definitive answer. I've reported the p...

  • Psycopg website
    Psycopg website created the ticket at 12:10 AM

    Submitted by: ellonweb

    I get this error when my project tries to import psycopg.
    ImportError: DLL load failed: The specified module could not be found.

    It trace...

Wednesday, December 22 2010
30 ZPsycopgDA Icon lookup broken was updated
  • Daniele Varrazzo
    • State changed from new to open
    • Tag set to zope
    by Daniele Varrazzo at 10:58 PM

    Patch and tests welcome.

  • Psycopg website
    Psycopg website created the ticket at 10:29 PM

    Submitted by: Pumukel

    Hello,

    The ZPsycopgDA is broken, and can't be used in Zope 2.12.9+ the reference for Shared/DC/ZRDB/www/DBAdapter_icon.gif did not longer ...

29 eggify ZPsycopgDA was updated
  • Daniele Varrazzo
    • State changed from new to open
    • Tag set to plone, pypi, zope
    by Daniele Varrazzo at 10:38 PM

    Definitely possible, but not from me: I'm no Zope user. Fog might... but he doesn't seem a pypi fan :)

    Bottom line: the quickest way to do this is for you to su...

  • Psycopg website
    Psycopg website created the ticket at 10:19 PM

    Submitted by: Pumukel

    Hello,

    might it be possible to release a seperate egg of ZPsycopgDA on pypi, with dependency for the accurat psycopg2 egg?

    For Zope and Pl...

28 Lighthouse support was created
  • Nicole
    Nicole created the ticket at 6:05 PM

    You may use tags such as rel-2.2.1 or os-linux to help us categorize the bug.

    This is a test ticket. Daniele should be notified but the other account member sho...

27 Bug in 2.3.2 when connecting via pgpool? was updated
  • Daniele Varrazzo
    • Tag set to notify, pgpool
    by Daniele Varrazzo at 2:08 AM
  • Daniele Varrazzo
    Daniele Varrazzo commented at 2:04 AM

    Hello Kevin,

    I've honestly done little with pgPool/pgBouncer, so I don't know if everything we expect from the behaviour of a connection is still true when gett...

14 [PATCH] Use pthread_self() instead of getpid() in Dprintf was updated
15 [PATCH] Mention connection object in debug logs was updated
Tuesday, December 21 2010
27 Bug in 2.3.2 when connecting via pgpool? was created
  • Kevin
    Kevin created the ticket at 11:16 PM

    Hi guys, thanks for fixing the error with connecting to a pooler. It fixed pgpool as well. I meant to submit a bug on that before. My issue seems to be that the...

26 Failed adaptation for None in composite types was updated
  • Daniele Varrazzo
    • Tag changed from adapt none null to adapt, none, null
    by Daniele Varrazzo at 12:40 PM
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 12:40 PM

    microprotocols_adapt has a fast path returning NULL on None. This is wrong: it should return an object conform to ISQLQuote. It goes unnoticed because _mogrify ...

Monday, December 20 2010
25 Test ticket was updated
Saturday, December 18 2010
25 Test ticket was updated
  • Daniele Varrazzo
    Daniele Varrazzo commented at 11:12 PM

    Testing email

  • Will Duncan
    Will Duncan commented at 6:04 PM

    Test email

  • Will Duncan
    Will Duncan created the ticket at 5:53 PM

    You may use tags such as rel-2.2.1 or os-linux to help us categorize the bug.

12 [PATCH] Add isolation level for BEGIN READ ONLY was updated
  • Daniele Varrazzo
    Daniele Varrazzo commented at 7:45 PM

    Hi JB,

    I am thinking about a more general overhauling of the connection/transaction settings: we'll talk about that as soon as we have a ML again (it should hap...

24 [PATCH] Don't segfault when PQparameterStatus(DateStyle) returns NULL was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    • Tag set to pgbouncer
    by Daniele Varrazzo at 4:28 PM

    Patch applied in my repos: waiting for fog to pull and release 2.3.2.

  • Daniele Varrazzo
    Daniele Varrazzo commented at 3:17 PM

    Will release soon.

    I've reported the email notification problem to Lighthouse. I'm really upset you've been waiting days without feedback, I'm sorry.

    Thank you...

  • Marti Raudsepp
    Marti Raudsepp commented at 2:50 PM

    What do you mean "will fix"? I posted a patch too.

  • Daniele Varrazzo
    • State changed from new to open
    by Daniele Varrazzo at 2:45 PM

    Thanks for the report: will fix soon.

    Sorry for the late reply: apparently lighthouse failed to send me a notification email.

Thursday, December 09 2010
24 [PATCH] Don't segfault when PQparameterStatus(DateStyle) returns NULL was created
  • Marti Raudsepp
    Marti Raudsepp created the ticket at 3:19 PM

    psycopg 2.3.0 and 2.3.1 segfault immediately upon connect to the pgbouncer pooling middleware, because (apparently) pgbouncer does not pass on the DateStyle to ...

Saturday, December 04 2010
23 Unable to compile on CentOS 5.5 x86_64 was updated
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 8:59 PM

    Issue fixed in release 2.3.1.

Thursday, December 02 2010
23 Unable to compile on CentOS 5.5 x86_64 was updated
  • Daniele Varrazzo
    • State changed from new to open
    • Milestone set to release-2.3.1
    • Tag changed from rel-2.3.0 to build, rel-2.3.0
    • Milestone order changed from 16 to 0
    by Daniele Varrazzo at 8:25 PM

    Confirm the build problem on CentOS 5.5 X86_64.

    The following preliminary patch allows the library to build

    --- psycopg/psycopgmodule.c.orig        2010-12-02 ...