Re: Patch to document base64 encoding

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Patch to document base64 encoding
Дата
Msg-id alpine.DEB.2.21.2001051231500.1648@pseudo
обсуждение исходный текст
Ответ на Re: Patch to document base64 encoding  ("Karl O. Pinc" <kop@meme.com>)
Ответы Re: Patch to document base64 encoding
Список pgsql-hackers
Hello Karl,

> Attached is doc_base64_v11.patch

Patch applies cleanly and compiles.

I'm in favor of moving and reorganizing these function descriptions, as 
they are somehow scattered with a unclear logic when you are looking for 
them.

  +       <entry><literal><parameter>bytea</parameter> <literal>||</literal>
  +        <parameter>bytea</parameter></literal></entry>
          <entry> <type>bytea</type> </entry>
          <entry>
           String concatenation

Bytea concatenation?

I'm not keen on calling the parameter the name of its type. I'd suggest to 
keep "string" as a name everywhere, which is not a type name in Pg.

The functions descriptions are not homogeneous. Some have parameter name & 
type "btrim(string bytea, bytes bytea)" and others only type or parameter 
with tagged as a parameter "get_bit(bytea, offset)" (first param), 
"sha224(bytea)".

I'd suggest to be consistent, eg use "string bytea" everywhere 
appropriate.

-- 
Fabien.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: parallel vacuum options/syntax
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: parallel vacuum options/syntax