Re: PL/pgSQL examples NOT involving functions

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: "Aasmund Midttun Godal" <postgresql(at)envisity(dot)com>, josh(at)agliodbs(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: PL/pgSQL examples NOT involving functions
Date: 2001-11-28 00:01:36
Message-ID: web-514787@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-sql

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?

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Stephan Szabo 2001-11-28 00:32:03 Re: PL/pgSQL examples NOT involving functions
Previous Message Aasmund Midttun Godal 2001-11-27 19:59:17 Re: PL/pgSQL examples NOT involving functions

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2001-11-28 00:24:38 Re: Complex query help please
Previous Message Glenn MacGregor 2001-11-27 22:23:25 Complex query help please