View Single Post

   
  #4 (permalink)  
Old 04-18-2008, 10:32 AM
Merlin Moncure
 
Posts: n/a
Default Re: [HACKERS] enum types and binary queries

On 8/31/07, Merlin Moncure <mmoncure@gmail.com> wrote:
> On 8/31/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Andrew Dunstan <andrew@dunslane.net> writes:
> > > Here's a patch (minus catalog bump) which I think does that.

> >
> > Looks sane in a very quick once-over, but I didn't test it.

>
> works fine (here was my test). thanks for quick resolution to this
> issue. strings returned in binary format is IMO ok.
> if(t != PGRES_COMMAND_OK & t != PGRES_TUPLES_OK)


oops, this line was wrong. the enum is fine though.

merlin

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply With Quote