Re: [PATCHES] [HACKERS] patches for items from TODO list

2005-05-30 Thread Bruce Momjian
Tom Lane wrote: Third, I found out that psql has some unusual handling of escaped numbers. Instead of using \ddd as octal, it has \ddd is decimal, \0ddd is octal, and \0xddd is decimal. It is basically following the strtol() rules for an escaped value. This seems confusing and

Re: [PATCHES] [HACKERS] patches for items from TODO list

2005-05-29 Thread Michael Paesold
Tom Lane wrote: Bruce Momjian pgman@candle.pha.pa.us writes: Here is an updated version of the COPY \x patch. It is the first patch attached. Also, I realized that if we support \x in COPY, we should also support \x in strings to the backend. This is the second patch. Do we really want

Re: [PATCHES] [HACKERS] patches for items from TODO list

2005-05-28 Thread Bruce Momjian
Here is an updated version of the COPY \x patch. It is the first patch attached. Also, I realized that if we support \x in COPY, we should also support \x in strings to the backend. This is the second patch. Third, I found out that psql has some unusual handling of escaped numbers. Instead of

Re: [PATCHES] [HACKERS] patches for items from TODO list

2005-05-28 Thread Tom Lane
Bruce Momjian pgman@candle.pha.pa.us writes: Here is an updated version of the COPY \x patch. It is the first patch attached. Also, I realized that if we support \x in COPY, we should also support \x in strings to the backend. This is the second patch. Do we really want to do any of these

Re: [PATCHES] [HACKERS] patches for items from TODO list

2005-05-27 Thread Bruce Momjian
] patches for items from TODO list Sergey Ten wrote: Hello all, We would like to contribute to the Postgresql community by implementing the following items from the TODO list (http://developer.postgresql.org/todo.php): . Allow COPY to understand \x as a hex byte . Allow COPY