Re: enum types and binary queries

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enum types and binary queries
Date: 2007-08-30 21:44:16
Message-ID: 46D73A30.9000108@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> What if we just defined the binary format as being identical to the text
> format, ie, the enum label? A bit silly but at least it would eliminate
> the gotcha that binary I/O fails.
>
>
>

So we should pretty much mimic text_send/text_recv? If so I can probably
get that done fairly quickly.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Decibel! 2007-08-30 22:30:07 Password requirement in windows installer
Previous Message Simon Riggs 2007-08-30 21:34:42 synchronous_commit: Developer's View

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2007-08-30 22:16:49 Re: HOT patch - version 14
Previous Message Tom Lane 2007-08-30 20:08:41 Re: HOT patch - version 14