Re: there is a way to deactivate type validation on 8.3.1????

From: erobles <erobles(at)sensacd(dot)com(dot)mx>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: there is a way to deactivate type validation on 8.3.1????
Date: 2010-05-28 20:49:30
Message-ID: 4C002C5A.7030500@sensacd.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/28/2010 03:34 PM, erobles wrote:
>
>
> On 05/28/2010 03:18 PM, alvherre wrote:
>> Excerpts from erobles's message of vie may 28 16:08:23 -0400 2010:
>>
>>> it did'nt work :-( , because the script is for pg 8.2 and i have pg
>>> 7.2 and the table pg_cast doesn't exist. whatever is a good idea
>>> but i
>>> need to know the table or tables on postgres 7.2.
>> Of course it didn't work if you tried to run it in 7.2; you're supposed
>> to run it in the 8.3 server, not the old one. The point is to make 8.3
>> sort-of compatible with the old behavior.
>>
> did you see the script?
>
> didn't it work because the first command is a psql pointing a pg
> server 8.2
> the second command is a psql pointing a pg server 8.3
> then the command are executed and get the differences
> after that made the properly casting fucntions
>
>
> this result ok , because the postgres 8.x.x have the same database
> catalog.... in this case have the table pg_cast
> so the query works OK.
>
>
>
> the problem in the postgres 7.2 doesn't exists the table pg_cast so
> i can't get the information need it to get the differences
>
> so, i need modify the first command run it and get the info in the
> same format to get it.
>
>
>
>
>
>
>
>
>

i mean:

if postgres 8.3 have a table pg_cast and their fields used on the
script are:
castfunc,
castsource,
casttarget,
castfunc::regprocedure,
castcontext

how can i get the same info from postgres 7.2 , and be able to get
the differences between 8.3 and 7.2

Regards.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-05-28 21:18:59 Re: there is a way to deactivate type validation on 8.3.1????
Previous Message Josh Berkus 2010-05-28 20:44:47 Re: List traffic