postgres.py icon indicating copy to clipboard operation
postgres.py copied to clipboard

A nice PostgreSQL client library

Results 16 postgres.py issues
Sort by recently updated
recently updated
newest added

When no `Model` subclass has been registered for a table, a row from that table contained in a query result isn't parsed at all, it's returned as a string. It...

Reticketing from : > The remaining issue is that `with conn.cursor() as cursor` and `with conn.get_cursor() as cursor` are now both valid but behave differently: the latter commits or rolls...

That will make it easier to interchange db and cursor objects. Cropped up at https://github.com/gratipay/gratipay.com/issues/2729#issuecomment-54536544. Similar to #39.

Why don't we have this? It seems to me that a column name can be checked with a simple regexp, and a placeholder different than `%s` (e.g. `%c`) could be...

> **asyncpg** is a database interface library designed specifically for PostgreSQL and Python/asyncio. asyncpg is an efficient, clean implementation of PostgreSQL server binary protocol for use with Python's _asyncio_ framework....

@kennethreitz has launched [Records](https://github.com/kennethreitz/records), "SQL for Humans™". Given the relative star count (~1,500 in 6 days vs. 36 in 3 years), it seems that the Python world now has a...

needs to change version in: - `setup.py` - `docs/conf.py` - `postgres/__init__.py`

http://www.postgresql.org/docs/current/static/plpgsql-errors-and-messages.html

I think Robbelard discusses something like this in [his talk](https://www.youtube.com/watch?v=Wz1_GYc4GmU#t=25m06s).

I have a column of a custom type, and I want a reference to the parent for the child. I want to be able to do: ``` foo = Participant.from_username('foo')...