mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Support named parameters in information_schema.parameters,
per Dennis Bjorklund. I did not force initdb for this, but you'd need to do one to get the improved view.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Copyright 2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/catalog/information_schema.sql,v 1.21 2003/12/17 22:11:30 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/catalog/information_schema.sql,v 1.22 2004/01/24 23:45:13 tgl Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -703,7 +703,7 @@ CREATE VIEW parameters AS
|
||||
CAST('IN' AS character_data) AS parameter_mode,
|
||||
CAST('NO' AS character_data) AS is_result,
|
||||
CAST('NO' AS character_data) AS as_locator,
|
||||
CAST(null AS sql_identifier) AS parameter_name,
|
||||
CAST(NULLIF(p.proargnames[pos.n], '') AS sql_identifier) AS parameter_name,
|
||||
CAST(
|
||||
CASE WHEN t.typelem <> 0 AND t.typlen = -1 THEN 'ARRAY'
|
||||
WHEN nt.nspname = 'pg_catalog' THEN format_type(t.oid, null)
|
||||
|
Reference in New Issue
Block a user