Обсуждение: Creating the scripts and compiling the C files containing user-defined functions and types.

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

Creating the scripts and compiling the C files containing user-defined functions and types.

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

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

" Directory of C:\postgresql-16.1\src\tutorial

11/06/2023  11:17 PM    <DIR>          .
11/06/2023  11:17 PM    <DIR>          ..
11/06/2023  11:04 PM                62 .gitignore
11/06/2023  11:04 PM             1,579 advanced.source
11/06/2023  11:04 PM             6,091 basics.source
11/06/2023  11:04 PM             5,169 complex.c
11/06/2023  11:04 PM             7,580 complex.source
11/06/2023  11:04 PM             3,078 funcs.c
11/06/2023  11:04 PM             4,531 funcs.source
11/06/2023  11:04 PM               900 Makefile
11/06/2023  11:04 PM               460 README
11/06/2023  11:04 PM             5,506 syscat.source
              10 File(s)         34,956 bytes
               2 Dir(s)  153,064,722,432 bytes free"

it shows

C:\postgresql-16.1\src\tutorial>make
'make' is not recognized as an internal or external command,
operable program or batch file.

and this also.

C:\postgresql-16.1\src\tutorial>Makefile
'Makefile' is not recognized as an internal or external command,
operable program or batch file.

On Thursday, January 18, 2024, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

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

" Directory of C:\postgresql-16.1\src\tutorial

11/06/2023  11:17 PM    <DIR>          .
11/06/2023  11:17 PM    <DIR>          ..
11/06/2023  11:04 PM                62 .gitignore
11/06/2023  11:04 PM             1,579 advanced.source
11/06/2023  11:04 PM             6,091 basics.source
11/06/2023  11:04 PM             5,169 complex.c
11/06/2023  11:04 PM             7,580 complex.source
11/06/2023  11:04 PM             3,078 funcs.c
11/06/2023  11:04 PM             4,531 funcs.source
11/06/2023  11:04 PM               900 Makefile
11/06/2023  11:04 PM               460 README
11/06/2023  11:04 PM             5,506 syscat.source
              10 File(s)         34,956 bytes
               2 Dir(s)  153,064,722,432 bytes free"

it shows

C:\postgresql-16.1\src\tutorial>make
'make' is not recognized as an internal or external command,
operable program or batch file.

Yeah, the “prior chapter” needed to create the database assumes you are able to compile PostgreSQL from source in which case make would be installed. 

and this also.

C:\postgresql-16.1\src\tutorial>Makefile
'Makefile' is not recognized as an internal or external command,
operable program or batch file.

The docs don’t tell you to try and execute the plain text Makefile.

David J.