Re: user input during runtime

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: user input during runtime
Дата
Msg-id 45D78B7C.9030208@commandprompt.com
обсуждение исходный текст
Ответ на Re: user input during runtime  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
Bruce Momjian wrote:
> Magnus Hagander wrote:
>> Win32 will deal with the backticks Ok, but not the read && echo part.
>> You can set it to the output of a variable, for example
>> \set x `echo foo`
>>
>> but I haven't been able to trick it into actually reading something. One
>> would think something like:
>> \set x `set /p Z= && echo %Z%`
>> would work, but it doesn't. One reason for this is that %Z% is actually
>> resolved at parsing time. it's a pain in CMD language, but that's how it
>> works. :-(
>
> CMD "language"?  LOL
>

We have our own language?

;)

Joshua D. Drake

--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: user input during runtime
Следующее
От: Tony Caduto
Дата:
Сообщение: CodeGear working on a new DB access layer for Delphi, but.....