python-postgres/fe

Deprecate StoredProcedure

jwp opened this issue · 1 comments

jwp commented

There should probably be some test entries exercising [parts of] StoredProcedure's type resolution. A recent issue revealed the lack of testing around OID entries. db.proc() generates queries based on procedure parameters and it needs an OID -> Name mapping if it's a recognized type. Currently, there are no automated checks for this.

jwp commented

Alternatively, add deprecation warnings for proc and encourage prepare usage.