Possible error in 8 beta documentation "basics.sql" > "basics.source"

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

Possible error in 8 beta documentation "basics.sql" > "basics.source"

От:
Stony Grunow <stony@luminousinc.com>
Дата:
First, thanks for the docs. They have been very helpful


In section 2.1 Introduction, I read




$ cd ..../src/tutorial

$ psql -s mydb

...

mydb=> \i basics.sql



Specifically, when I typed in "\i basics.sql" I got the error 


basics.sql: No such file or directory


when I typed in "\i basics.source" it seemed to work.


I believe the docs should be changed from "\i basics.sql" to "\i
basics.source"



hope this was helpful


thanks

stony
First, thanks for the docs. They have been very helpful

In section 2.1 Introduction, I read



$ cd ..../src/tutorial
$ psql -s mydb
...
mydb=> \i basics.sql


Specifically, when I typed in "\i basics.sql" I got the error

basics.sql: No such file or directory

when I typed in "\i basics.source" it seemed to work.

I believe the docs should be changed from "\i basics.sql" to "\i 
basics.source"


hope this was helpful

thanks
stony

Re: Possible error in 8 beta documentation "basics.sql" > "basics.source"

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Stony Grunow  writes:
> Specifically, when I typed in "\i basics.sql" I got the error
> basics.sql: No such file or directory

> I believe the docs should be changed from "\i basics.sql" to "\i 
> basics.source"

No, that would be wrong.  However it does seem like a good idea to
transpose the directions in the README file into the SGML docs ...
you evidently missed the need to "make" the tutorial files.

			regards, tom lane
FAQ