Re: replicating DROP commands across servers

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: replicating DROP commands across servers
Дата
Msg-id 5436CD15.5040401@BlueTreble.com
обсуждение исходный текст
Ответ на Re: replicating DROP commands across servers  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: replicating DROP commands across servers
Список pgsql-hackers
On 10/6/14, 11:24 PM, Robert Haas wrote:

Offlist.

>> FWIW, I've run into situations more than once in userspace where I need a
>> way to properly separate schema and object name. Generally I can make do
>> using reg* casts and then hitting catalog tables, but it'd be nice if there
>> was an easier way.
>
> Sure, although I think that's a bit of a separate problem.  It's hard
> to iterate through a string a character at a time from the SQL level
> so that you can handle stuff like the quote_literal() rules.  If we
> want people to be able to do that easily we need to provide tools to
> handle it.  But C is actually quite well-suited to such tasks.

Yeah, I wouldn't want to attempt this in SQL; I was saying that a built-in function to do this would be broadly useful,
notjust for replicating DROPs.
 
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: alter user set local_preload_libraries.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Log notice that checkpoint is to be written on shutdown