Re: new MB patch and pg_type oid problem

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: lockhart(at)alumni(dot)caltech(dot)edu, hackers(at)postgreSQL(dot)org
Subject: Re: new MB patch and pg_type oid problem
Date: 1998-08-19 14:46:54
Message-ID: 199808191446.KAA23151@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> >>Multi-byte pg_class_mb.h and others had duplicate copies of the file in
> >>them. I am committing a fix now.
> >
> >Thanks.
> >
> >>As far as I am concerned, if you want to just add the endcoding field to
> >>various tables, go ahead. It is easier than maintaining two copies of
> >>the files, and should make your job easier.
> >
> >Thanks again! If there's no objection, I will go ahead.
>
> Included patches are mainly for this purpose.
>
> o note that now pg_database has a new attribuite "encoding" even if
> MULTIBYTE is not enabled. So be sure to run initdb.
>
> o these patches are made against the latest source tree (after Bruce's
> massive patch, I think) BTW, I noticed that after running regression,
> the oid field of pg_type seems disappeared.
>
> regression=> select oid from pg_type;
> ERROR: attribute 'oid' not found

I just tried:

select oid from pg_type;

and it worked.

>
> this happens after the constraints test. This occures with/without my
> patches. strange...

What contraints test?

>
> o pg_database_mb.h, pg_class_mb.h, pg_attribute_mb.h are no longer
> used, and shoud be removed.
>
> o GetDatabaseInfo() in utils/misc/database.c removed (actually in
> #ifdef 0). seems nobody uses.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-08-19 15:08:50 Re: [HACKERS] struct index
Previous Message Bruce Momjian 1998-08-19 14:44:30 Re: [HACKERS] initb won't work