massive quotes?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема massive quotes?
Дата
Msg-id 3F4E4708.4030703@dunslane.net
обсуждение исходный текст
Ответы Re: massive quotes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: massive quotes?  (Jon Jensen <jon@endpoint.com>)
Список pgsql-hackers
What is the state of things regarding having to use massive strings of 
quotes like this (taken from the 7.3 docs)?:

a_output := a_output || '' if v_'' ||     referrer_keys.kind || '' like ''''''''''     || referrer_keys.key_string ||
''''''''''    then return ''''''  || referrer_keys.referrer_type     || ''''''; end if;''; 
 

This is truly ugly, IMNSHO. Perl has its q() construct - any chance of us doing something here?

I'm prepared to put in effort to implement a solution if there is agreement on what the solution should be. Maybe some
sortof magical operator/function?
 

cheers

andrew





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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: New array functions
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Code revision