agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
2.4 Tutorial COPY weather.txt -- From where?
2+ messages / 2 participants
[nested] [flat]

* 2.4 Tutorial COPY weather.txt -- From where?
@ 2025-07-04 20:51  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2025-07-04 20:51 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: mattsmathclassofficial@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/tutorial-populate.html
Description:

I'm trying to read the docs/tutorial from start to finish, and I made it to
the end of "2.4. Populating a Table With Rows" before getting confused.  and
see `COPY weather FROM '/home/user/weather.txt';` referenced as an
alternative example to running all the individual inserts. This confused me
because I spent time looking for a link to download this, and eventually
skimming through /src/tutorial/* on github, and couldn't find it anywhere.
Now I'm thinking it doesn't exist anywhere, but it would be nice if (A) it
was specified explicitly that this example file doesn't exist anywhere for
download, or (B) provide a link to the github or similar where a plain text
file can be downloaded for loading tutorial datasets.
Thank you, and happy 4th of July


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 2.4 Tutorial COPY weather.txt -- From where?
@ 2025-07-17 23:30  Fujii Masao <masao.fujii@oss.nttdata.com>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Fujii Masao @ 2025-07-17 23:30 UTC (permalink / raw)
  To: mattsmathclassofficial@gmail.com; pgsql-docs@lists.postgresql.org



On 2025/07/05 5:51, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/17/tutorial-populate.html
> Description:
> 
> I'm trying to read the docs/tutorial from start to finish, and I made it to
> the end of "2.4. Populating a Table With Rows" before getting confused.  and
> see `COPY weather FROM '/home/user/weather.txt';` referenced as an
> alternative example to running all the individual inserts. This confused me
> because I spent time looking for a link to download this, and eventually
> skimming through /src/tutorial/* on github, and couldn't find it anywhere.
> Now I'm thinking it doesn't exist anywhere, but it would be nice if (A) it
> was specified explicitly that this example file doesn't exist anywhere for
> download, or (B) provide a link to the github or similar where a plain text
> file can be downloaded for loading tutorial datasets.
> Thank you, and happy 4th of July

Thanks for the report! Daniel has added the weather.txt example to the docs [1].
It will appear at v17 docs on the website after the next minor release.

Regards,

[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=f6ffbeda00e08c4c8ac8cf72173f84157...

-- 
Fujii Masao
NTT DATA Japan Corporation






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-07-17 23:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-04 20:51 2.4 Tutorial COPY weather.txt -- From where? PG Doc comments form <noreply@postgresql.org>
2025-07-17 23:30 ` Fujii Masao <masao.fujii@oss.nttdata.com>

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