Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

SQLAlchemy definitions for PostgreSQL catalog tables

Project Description

SQLAlchemy PostgreSQL Catalog Definition

SQLAlchemy schema definition (partially reflected) for the PostgreSQL catalog (pg_catalog schema)

Example

Simple example:

>>> import sqlalchemy

>>> import sqlalchemy_pgcatalog

>>> engine = sqlalchemy.create_engine("postgresql://localhost:5432/examples")

>>> list(engine.execute(select([sqlalchemy_pgcatalog.Lock])))
[('relation', 320034, 11090, None, None, None, None, None, None, None, '2/77352', 23112, 'AccessShareLock', True, True),
 ('virtualxid', None, None, None, None, '2/77352', None, None, None, None, '2/77352', 23112, 'ExclusiveLock', True, True)]
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sqlalchemy_pgcatalog-0.1.1.zip (4.6 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting