psql and comments

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема psql and comments
Дата
Msg-id 37FB57AD.5BA86412@alumni.caltech.edu
обсуждение исходный текст
Ответы Re: [HACKERS] psql and comments
Re: psql and comments
Список pgsql-hackers
While you're at it...

The following example shows psql correctly clearing its input buffer
when a line containing *only* a comment is seen, but not completely
clearing the buffer (or not realizing that it is cleared; note the
changed prompt) if the comment is at the end of a valid query.

postgres=> -- comment
postgres=> select 'hi'; -- comment
?column?
--------
hi      
(1 row)

postgres->
                   - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysqlcomparison
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] libpq++ doc error?