Re: Syntax error needs explanation

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Rich Shepard <rshepard@appl-ecosys.com>, pgsql-general <pgsql-general@postgresql.org>
Date: 2025-07-14T19:56:16Z
Lists: pgsql-general
On Mon, Jul 14, 2025 at 12:45 PM Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

> >
> > I mistyped the script's extension as .txt rather than .sql.
>
> That does not matter, that is more for user convenience in figuring out
> what the files are for.
>
>
I think all that is being said is the error was a simple typo, choosing the
wrong file to execute.  Not reading the error message was the real issue,
not a failure to understand how psql scripting works.

David J.