Обсуждение: tutorial not accurate

Поиск
Список
Период
Сортировка

tutorial not accurate

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/tutorial-accessdb.html
Description:

I was able to create a db (mydb) but when I use any of the test SELECT
statements, nothing happens. Here is the terminal output when trying your
tutorial.

mydb=# SELECT version()
mydb-# SELECT current_date
mydb-# SELECT 2 + 2
mydb-# \q

Re: tutorial not accurate

От
Peter Eisentraut
Дата:
On 02.07.24 22:00, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/16/tutorial-accessdb.html
> Description:
> 
> I was able to create a db (mydb) but when I use any of the test SELECT
> statements, nothing happens. Here is the terminal output when trying your
> tutorial.
> 
> mydb=# SELECT version()
> mydb-# SELECT current_date
> mydb-# SELECT 2 + 2
> mydb-# \q

You forgot the semicolons at the end of each line.  The tutorial does 
contain those.