Re: Syntax error needs explanation - Mailing list pgsql-general

From David G. Johnston
Subject Re: Syntax error needs explanation
Date
Msg-id CAKFQuwasMXtnE1knadTpzTn_yF3g=PoG4KSdds_iXxB7sMLbhg@mail.gmail.com
Whole thread Raw
In response to Re: Syntax error needs explanation  (Adrian Klaver <adrian.klaver@aklaver.com>)
List 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.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Performance of JSON type in postgres
Next
From: Rich Shepard
Date:
Subject: Re: Syntax error needs explanation