Re: Syntax error needs explanation

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Syntax error needs explanation
Date: 2025-07-14 19:56:16
Message-ID: CAKFQuwasMXtnE1knadTpzTn_yF3g=PoG4KSdds_iXxB7sMLbhg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jul 14, 2025 at 12:45 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2025-07-14 19:59:02 Re: Syntax error needs explanation
Previous Message Adrian Klaver 2025-07-14 19:54:49 Re: Performance of JSON type in postgres