There was an error while loading. Please reload this page.
1 parent e735f9f commit 744aefdCopy full SHA for 744aefd
1 file changed
postgresql/lib/libsys.sql
@@ -2,7 +2,7 @@
2
# copyright 2009, James William Pye
3
# http://python.projects.postgresql.org
4
##
5
--- Queries for dealing with the PostgreSQL catalogs.
+-- Queries for dealing with the PostgreSQL catalogs for supporting the driver.
6
7
[lookup_type::first]
8
SELECT
@@ -27,6 +27,7 @@ FROM pg_catalog.pg_type bt
27
WHERE bt.oid = $1
28
29
[lookup_composite]
30
+-- Get the type Oid and name of the attributes in `attnum` order.
31
32
CAST(atttypid AS oid) AS atttypid,
33
CAST(attname AS VARCHAR) AS attname
@@ -59,7 +60,7 @@ FROM
59
60
*[lookup_procedures]
61
WHERE pg_proc.oid = regprocedurein($1)
62
-[lookup_prepared_xacts]
63
+[lookup_prepared_xacts::first]
64
65
COALESCE(ARRAY(
66
0 commit comments