Re: [HACKERS] Beta for 4:30AST ... ?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Don Baccus <dhogaza(at)pacifier(dot)com>
Cc: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Beta for 4:30AST ... ?
Date: 2000-02-21 19:07:26
Message-ID: 200002211907.OAA10055@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> At 12:11 PM 2/21/00 -0600, Ed Loehr wrote:
> >Don Baccus wrote:
> >>
> >> Even pg_dump works, though I had to modify a couple of views in order
> >> to get them reload correctly.
> >
> >Don, could you elaborate on what you had to do to make your views
> >reload correctly?
>
> Good timing - I was about to post on this subject anyway.
>
> I was able to fix my views by changing:
>
> create view foo as select * from bar;
>
> to:
>
> ...select * from bar bar;
>
> In other words, an explicit declaration of the range table name (is

Yes, right name.

I am totally confused why "from bar bar" is different from "bar".

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-02-21 19:19:37 Re: [HACKERS] Beta for 4:30AST ... ?
Previous Message Tom Lane 2000-02-21 19:06:13 Re: [HACKERS] Beta for 4:30AST ... ?