pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Question about blocks.
2+ messages / 2 participants
[nested] [flat]

* Question about blocks.
@ 2022-01-25 15:54 Chris Cawley <cj_cawley@yahoo.com>
  2022-01-25 16:25 ` Re: Question about blocks. David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Chris Cawley @ 2022-01-25 15:54 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>

All -
I have the sql to check for blocks; however , it is per server or per database?Do I need to connect to each database and check.  This would mean that Ineed a list first and then cycle through.
ThanksChris

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

* Re: Question about blocks.
  2022-01-25 15:54 Question about blocks. Chris Cawley <cj_cawley@yahoo.com>
@ 2022-01-25 16:25 ` David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: David G. Johnston @ 2022-01-25 16:25 UTC (permalink / raw)
  To: Chris Cawley <cj_cawley@yahoo.com>; +Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>

On Tue, Jan 25, 2022 at 8:55 AM Chris Cawley <cj_cawley@yahoo.com> wrote:

> I have the sql to check for blocks; however , it is per server or per
> database?
>

Given it is SQL access I would presume it is per-table, which are
per-database.  Seems easy enough to test...since you haven't shown the SQL
for others to evaluate.

This would mean that I need a list first and then cycle through.
>

SELECT * FROM pg_database;

David J.

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


end of thread, other threads:[~2022-01-25 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 15:54 Question about blocks. Chris Cawley <cj_cawley@yahoo.com>
2022-01-25 16:25 ` David G. Johnston <david.g.johnston@gmail.com>

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