Re: Prefered Types

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Зотов Роман <zotov(at)oe-it(dot)ru>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Prefered Types
Date: 2011-05-03 17:17:30
Message-ID: 1304441606-sup-5803@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Зотов Роман's message of lun abr 11 17:39:32 -0300 2011:

> I send full patch, prev patch could be not so full, because i didn`t
> knew how does it build. (too many generated files)
> now i think it work. now it doesn`t change defaults and not change
> syntax to use prefered.
> I just change it by "update pg_type ..."
> this feature can be modified now.

I had a brief look at this patch, updating it to current HEAD past some
pgindent conflicts. It seems sane, but as Zotov says, it doesn't do
anything yet: it only changes typispreferred from bool to int. I'm
attaching it for the benefit of those interested.

The interesting discussion is what happens next. To me, this is all
related to this previous discussion:
http://archives.postgresql.org/pgsql-hackers/2010-09/msg00232.php

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Attachment Content-Type Size
0001-Change-typispreferred-from-boolean-to-an-integer.patch application/octet-stream 65.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Berkus 2011-05-03 17:46:51 Unlogged vs. In-Memory
Previous Message Tom Lane 2011-05-03 14:19:55 Re: FDW table hints