We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 508bf1f commit d779dbcCopy full SHA for d779dbc
1 file changed
NpgsqlRest/RoutineSourceQuery.cs
@@ -6,7 +6,7 @@ internal class RoutineSourceQuery
6
with _types as (
7
8
select
9
- (n.nspname::text || '.' || t.typname::text)::regtype::text as name,
+ case when n.nspname = 'public' then quote_ident(t.typname) else quote_ident(n.nspname) || '.' || quote_ident(t.typname) end as name,
10
a.attnum as att_pos,
11
quote_ident(a.attname) as att_name,
12
pg_catalog.format_type(a.atttypid, a.atttypmod) as att_type
0 commit comments