pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Eugene E. <sad@bankir.ru>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: have you feel anything when you read this ?
Date: Thu, 6 Apr 2006 05:42:02 -0700 (PDT)
Message-ID: <20060406054131.G93813@megazone.bigpanda.com> (raw)
In-Reply-To: <44350A9B.5060109@bankir.ru>
References: <Pine.LNX.4.44.0603201522410.22894-100000@matrix.gatewaynet.com>
	<441EA0A7.8030601@bankir.ru>
	<200603201415.30719.peter_e@gmx.net>
	<442CC95C.1030700@bankir.ru>
	<20060331084503.W64402@megazone.bigpanda.com>
	<44324AB6.2060104@bankir.ru>
	<20060404071118.C19036@megazone.bigpanda.com>
	<4433650E.1020508@bankir.ru>
	<20060405071322.Y58168@megazone.bigpanda.com>
	<4434A207.6010600@bankir.ru>
	<20060405224337.Y83930@megazone.bigpanda.com>
	<4434C0A9.6000001@bankir.ru>
	<20060406041008.M82943@megazone.bigpanda.com>
	<44350A9B.5060109@bankir.ru>

On Thu, 6 Apr 2006, Eugene E. wrote:

> Stephan Szabo wrote:
> >>>What would you expect it to do given a single result format argument?
> >>>
> >>>If you want to propose a new function (set of functions) that have
> >>>different behavior, make a coherent proposal.
> >>
> >> > Statements like it should
> >> > do X because I want it to aren't coherent proposals.
> >>
> >>AFAIK, they convert each value before put it to a result set.
> >>I propose to do the following convertion to the textual-form for bytea
> >>values:
> >>X->X where X is byte [0..255]
> >
> >
> > Okay, now pass that to strcmp or a %s format. AFAIK, the "textual-form" of
> > values is meant to be a c-string. "ab\0cd\0" is not a c-string containing
> > ab\0cd, it's a c-string containing ab.
>
> WHY strcmp ?! do you really think the user is a fool ?
> if the user declared something "binary", he obviously knows what he has
> done.
>
> WHY c-string ? the user only wants to get PGresult structure.
> Since this structure provides a length of each value, you have no need
> in c-string. Why do think the user needs it ?
>
> "textual-form" is just a name of actually existent convertion rule.
> i am not trying to find out a philosophy here.

Then, honestly, nothing anyone can say will help, because you're not
willing to actually hold a conversation on the topic.



view thread (47+ messages)  latest in thread

Message-ID: <20060406054131.G93813@megazone.bigpanda.com>
Permalink:  ../20060406054131.G93813@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20060406054131.G93813@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, sad@bankir.ru, peter_e@gmx.net, achill@matrix.gatewaynet.com
  Subject: Re: have you feel anything when you read this ?
  In-Reply-To: <20060406054131.G93813@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox