type info refactoring

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: type info refactoring
Date: 2010-10-31 06:03:10
Message-ID: 1288504990.5712.5.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here's a big patch to avoid passing around type OID + typmod (+
collation) separately all over the place. Instead, there is a new
struct TypeInfo that contains these fields, and only a pointer is passed
around.

Some stuff in here (or not in here) is probably a matter of taste, as
with any such large refactoring, but in general you can see that it
saves a lot of notational overhead.

Attachment Content-Type Size
typeinfo-refactoring.patch.gz application/x-gzip 43.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2010-10-31 12:46:29 Re: ALTER OBJECT any_name SET SCHEMA name
Previous Message Boxuan Zhai 2010-10-31 04:16:14 a new problem in MERGE