Re: operator is not unique: integer || integer

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: operator is not unique: integer || integer
Дата
Msg-id C7A3CB29-6516-4AE2-8680-DF114539701F@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на Re: operator is not unique: integer || integer  (Daniel Schuchardt <daniel_schuchardt@web.de>)
Ответы Re: operator is not unique: integer || integer
Список pgsql-general
> another example?:
>
> RAISE NOTICE "error during validation % :", 'ks:"'||ks||'"@"'||
> loopdate||'"';  (here LoopDate is a DateTime)

Ehm... What's wrong with RAISE NOTICE "error during validation
ks:"%"@"%" :', ks, loopdate; ? (I don't quite understand the purpose
of that colon at the end, btw).
Allows you to format the date to your liking too, just add a to_char
(loopdate, <format string>).

I know these were just a few examples of your troubles, but so far it
appears it's desirable to get rid of them for better code.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,481ffc80927661001715755!



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

Предыдущее
От: "Dan \"Heron\" Myers"
Дата:
Сообщение: Re: more custom C function fun
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: more custom C function fun