Re: Unescaped new lines in postgres

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Unescaped new lines in postgres
Дата
Msg-id 200111230455.fAN4tFY29181@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Unescaped new lines in postgres  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
> >From heap.c:
> 
>        /*
>          * sanity checks
>          */
>         if (relname && !allow_system_table_mods &&
>                 IsSystemRelationName(relname) && IsNormalProcessingMode())
>                 elog(ERROR, "invalid relation name \"%s\"; "
>                          "the 'pg_' name prefix is reserved for system
> catalogs",
>                          relname);
> 
> I guess this is a slightly different example than what the issue is below.
> Maybe I'm wrong and the above code is still legal.  Even so, seems a bit
> dodgy to me...

Yes, I have seen this before.  It looked pretty nifty when I saw it, and
I have not seen it used in any other code.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: v7.2b3 packaged, but not announced beyond here yet ...
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: OCTET_LENGTH is wrong