pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Colborn <vcolborn@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14408: Schema not found error when 2 or more indices declared on temporary table
Date: Tue, 1 Nov 2016 18:31:06 -0700
Message-ID: <E46079FA-2FBE-48E2-921C-F92763C8A7F7@gmail.com> (raw)
In-Reply-To: <CAKFQuwZGcA3owiOYaWHBUae8vfSXZNWgbdDc4=mHv92bJnU0Jw@mail.gmail.com>
References: <20161101192655.15987.25903@wrigleys.postgresql.org>
	<CAKFQuwZGcA3owiOYaWHBUae8vfSXZNWgbdDc4=mHv92bJnU0Jw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Good suggestion David. Tried that to no resolve. I am getting a successful first execution, but something is improper on subsequent executions. 

> On Nov 1, 2016, at 5:00 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:
> 
>> On Tue, Nov 1, 2016 at 12:26 PM, <vcolborn@gmail.com> wrote:
> 
>> The following bug has been logged on the website:
>> 
>> Bug reference:      14408
>> Logged by:          Victor Colborn
>> Email address:      vcolborn@gmail.com
>> PostgreSQL version: 9.6.1
>> Operating system:   (Red Hat 4.4.7-16), 64-bit
>> Description:
>> 
>> I'm finding that this rather simple postgresql 9.6.1 function
>> ​[...]
>> 
>> is resulting in a schema "" does not exist error. The exact error is:
>> 
>> ​[...]
>> 
>> and occurs reliably on the second and subsequent executions. Cut/Pasting the
>> above SQL chunk reproduces the error...for me. Quite interested if that's
>> not the case elsewhere. I have the following clues:
> ​[...]​ 
>> It indicates the name of the not found schema to be "" or "0MA{Start of
>> Text} " or some similar variant with non-visible character values.
> 
> ​My gut reaction here is to type, by hand, the CREATE FUNCTION code into a newly created text file and send it through psql.  Your comment about copy/paste and "non-visible characters" leads me to suspect that whatever source you are copying from has been "poisoned" by a control character​ that you can't see and that is causing a problem.
> 
> David J.
> 
> 

view thread (7+ messages)  latest in thread

Message-ID: <E46079FA-2FBE-48E2-921C-F92763C8A7F7@gmail.com>
Permalink:  ../E46079FA-2FBE-48E2-921C-F92763C8A7F7@gmail.com/
Also on:    postgresql.org/message-id/E46079FA-2FBE-48E2-921C-F92763C8A7F7@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: vcolborn@gmail.com, david.g.johnston@gmail.com
  Subject: Re: BUG #14408: Schema not found error when 2 or more indices declared on temporary table
  In-Reply-To: <E46079FA-2FBE-48E2-921C-F92763C8A7F7@gmail.com>
  References: <20161101192655.15987.25903@wrigleys.postgresql.org> <CAKFQuwZGcA3owiOYaWHBUae8vfSXZNWgbdDc4=mHv92bJnU0Jw@mail.gmail.com> <E46079FA-2FBE-48E2-921C-F92763C8A7F7@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox