Skip site navigation (1) Skip section navigation (2)

Re: 8.1 and syntax checking at create time

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>,PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 8.1 and syntax checking at create time
Date: 2005-08-31 19:35:21
Message-ID: 43160679.9080506@amsoftwaredesign.com (view raw or flat)
Thread:
Lists: pgsql-hackers
I just found out the databases on 8.0 where originally restored from a 
7.4 server, so it seems I have never had the
lanvalidator function even while running on 8.0 for the last 10 months :-(

So how can I update my restored databases, i tried dropping the 
language, but it wouldn't let me becasuse of dependent objects.

Thanks,

Tony

Are you using a database that was restored from an earlier version

>of PostgreSQL?  I wonder if you're not getting the lanvalidator
>function.  What's the result of the following query?
>
>SELECT lanname,
>       lanplcallfoid, lanplcallfoid::regprocedure,
>       lanvalidator, lanvalidator::regprocedure
>FROM pg_language;
>
>What happens if you create a fresh database and run "createlang
>plpgsql" in it, and then run your tests?
>
>  
>


In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2005-08-31 19:37:21
Subject: Re: 8.1 and syntax checking at create time
Previous:From: Tom LaneDate: 2005-08-31 19:29:30
Subject: Re: 8.1 and syntax checking at create time

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group