Re: RE in WHERE SOLVED

Поиск
Список
Период
Сортировка
От Patrick Nelson
Тема Re: RE in WHERE SOLVED
Дата
Msg-id 4165C48DE9A0D211B6400800095C585F172E70@WASHINGTON
обсуждение исходный текст
Список pgsql-general
Patrick Nelson wrote:
----------------->>>>
 Jean-Luc Lachance wrote:
 ----------------->>>>
 Double up on the back slashes.

 SELECT * FROM secure WHERE ~ '^12\\.'
 ----------------->>>>
 That didn't work either...
----------------->>>>
Actually that does work within psql.  I was trying from the command line
like:

 psql <database> -c "SELECT * FROM <table> WHERE host~'^12\\.'"

which doesn't work.  However, if I went into psql and entered the query then
it did work.  Guess the bash shell does something to the block...

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

Предыдущее
От: Patrick Nelson
Дата:
Сообщение: Re: RE in WHERE SOLVED
Следующее
От: Hector Galicia
Дата:
Сообщение: error in execution