public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: Rich Shepard <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Syntax error needs explanation
Date: Mon, 14 Jul 2025 12:56:16 -0700
Message-ID: <CAKFQuwasMXtnE1knadTpzTn_yF3g=PoG4KSdds_iXxB7sMLbhg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On Mon, Jul 14, 2025 at 12:45 PM Adrian Klaver <[email protected]>
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.


view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Syntax error needs explanation
  In-Reply-To: <CAKFQuwasMXtnE1knadTpzTn_yF3g=PoG4KSdds_iXxB7sMLbhg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox