dbsize backend integration

Started by Andreas Pflugabout 21 years ago5 messagespatches
Jump to latest
#1Andreas Pflug
pgadmin@pse-consulting.de

As a start for a bunch of instrumentation functions that should be
included in the backend as discussed previously, here are the dbsize
functions. The dbsize.c file should go to the usual place,
src/backend/utils/adt.

Regards,
Andreas

Attachments:

dbsize.ctext/x-csrc; name=dbsize.cDownload
dbsize-backend.patchtext/x-patch; name=dbsize-backend.patchDownload+93-1
#2Bruce Momjian
bruce@momjian.us
In reply to: Andreas Pflug (#1)
Re: dbsize backend integration

Andreas Pflug wrote:

As a start for a bunch of instrumentation functions that should be
included in the backend as discussed previously, here are the dbsize
functions. The dbsize.c file should go to the usual place,
src/backend/utils/adt.

How does this related to /contrib/dbsize? You have moved some
functions, but not recreated others.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#3Andreas Pflug
pgadmin@pse-consulting.de
In reply to: Bruce Momjian (#2)
Re: dbsize backend integration

Bruce Momjian wrote:

Andreas Pflug wrote:

As a start for a bunch of instrumentation functions that should be
included in the backend as discussed previously, here are the dbsize
functions. The dbsize.c file should go to the usual place,
src/backend/utils/adt.

How does this related to /contrib/dbsize? You have moved some
functions, but not recreated others.

This patch includes only those functions that return the basic values
nobody but the server can provide; all others are some kind of derived
functions, as implemented by some personal needs. They should stay in
contrib, as they all have some limitations (e.g. implementing a subset,
as relation_size which only counts tables, or total_relation_size et al,
which are schema ignorant).

Regards,
Andreas

#4Bruce Momjian
bruce@momjian.us
In reply to: Andreas Pflug (#1)
Re: dbsize backend integration

This version is being removed from the patches queue because it does not
address how to handle existing dbsize functions not moved into the main
server.

---------------------------------------------------------------------------

Andreas Pflug wrote:

As a start for a bunch of instrumentation functions that should be
included in the backend as discussed previously, here are the dbsize
functions. The dbsize.c file should go to the usual place,
src/backend/utils/adt.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#5The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#4)
Re: dbsize backend integration

If dbsize is being moved from contrib to the backend, it should be moved
in in its entirety ...

On Tue, 21 Jun 2005, Bruce Momjian wrote:

This version is being removed from the patches queue because it does not
address how to handle existing dbsize functions not moved into the main
server.

---------------------------------------------------------------------------

Andreas Pflug wrote:

As a start for a bunch of instrumentation functions that should be
included in the backend as discussed previously, here are the dbsize
functions. The dbsize.c file should go to the usual place,
src/backend/utils/adt.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

-- 
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 359-1001
+  If your life is a hard drive,     |  13 Roberts Road
+  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664