Re: "Type does not exist" error when returning array of type in non-public schema

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Chris Cleveland <ccleveland(at)dieselpoint(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: "Type does not exist" error when returning array of type in non-public schema
Date: 2025-02-06 18:14:54
Message-ID: 1131306.1738865694@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Thu, Feb 6, 2025 at 9:47 AM Chris Cleveland <ccleveland(at)dieselpoint(dot)com>
> wrote:
>> RETURN "rdb.Token"[], RETURN "rdb.Token[]" all fail.

> Expecting these two to work suggests you need to re-read the section on how
> quoting identifiers works.

I'm wondering if it needs to be "Token". Mixed-case SQL identifiers
are usually more of a pain than they're worth, frankly.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-02-06 18:18:56 Re: new commitfest transition guidance
Previous Message Melanie Plageman 2025-02-06 18:06:01 Re: Confine vacuum skip logic to lazy_scan_skip