From: Jan Wieck <janwieck@yahoo.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Aasmund Midttun Godal <postgresql@envisity.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: PL/pgSQL examples NOT involving functions
Date: Wed, 5 Dec 2001 16:29:04 -0500 (EST)
Message-ID: <200112052129.fB5LT4k02023@saturn.jw.home> (raw)
In-Reply-To: <web-514787@davinci.ethosmedia.com>
Josh Berkus wrote:
> Aasmund,
>
> > envisity=# DROP TABLE temp ;
> > DROP
> > envisity=# create table temp (tempid integer);
> > CREATE
> > envisity=# INSERT INTO temp VALUES(3);
> > INSERT 150371 1
> > envisity=# select test3();
> > ERROR: Relation 150348 does not exist
> > envisity=#
>
> That's a new one on me. I've dropped and re-created dozens of tables,
> and while I have to re-build the views, I've never had to touch the
> functions for that reason. Either in PL/pgSQL or in SQL.
>
> What version are we talking about?
Any version. But a simple reconnect to the database fixes the
problem, because you'll have a new backend and that guy will
of course compile everything on first hit.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: janwieck@yahoo.com, josh@agliodbs.com, postgresql@envisity.com, pgsql-sql@postgresql.org
Subject: Re: PL/pgSQL examples NOT involving functions
In-Reply-To: <200112052129.fB5LT4k02023@saturn.jw.home>
* 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