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

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "hamman6334(at)gmail(dot)com" <hamman6334(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Creating the scripts and compiling the C files containing user-defined functions and types.
Date: 2024-01-18 13:35:53
Message-ID: CAKFQuwa=NzYdVneT0fx+V52e8BD6XqYEwzSEb3-dgZuM7E52iQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thursday, January 18, 2024, PG Doc comments form <noreply(at)postgresql(dot)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.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2024-01-18 14:54:26 Re: create table explicitly mention that unique|primary key constraint will create an
Previous Message PG Doc comments form 2024-01-18 08:55:03 Creating the scripts and compiling the C files containing user-defined functions and types.