mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Add pg_column_size() to return storage size of a column, including
possible compression. Mark Kirkwood
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/access/tuptoaster.h,v 1.22 2005/03/21 01:24:04 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/access/tuptoaster.h,v 1.23 2005/07/06 19:02:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -138,4 +138,12 @@ extern Datum toast_compress_datum(Datum value);
|
||||
*/
|
||||
extern Size toast_raw_datum_size(Datum value);
|
||||
|
||||
/* ----------
|
||||
* toast_datum_size -
|
||||
*
|
||||
* Return the storage size of a varlena datum
|
||||
* ----------
|
||||
*/
|
||||
extern Size toast_datum_size(Datum value);
|
||||
|
||||
#endif /* TUPTOASTER_H */
|
||||
|
||||
Reference in New Issue
Block a user