Skip site navigation (1) Skip section navigation (2)

send()/receive() and on-disk storage

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: send()/receive() and on-disk storage
Date: 2006-09-29 13:44:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

Currently, there's a discussion on the pljava list, and we're confused
about a small detail:

Does PostgreSQL call the datatypes' defined send() function before
storing the tuple data in the table, on disk, and call receive() when
reading it again?

My position was that send()/receive() are only used for client
communication in the V3 protocol binary mode, and COPY in binary mode,
but the backend stores them in the tables as_is (modulo compression/

Is my assumption correct?

Btw, I'm going to triple-check this in the source and via tests, too.

Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe!


pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2006-09-29 13:51:56
Subject: Re: send()/receive() and on-disk storage
Previous:From: Marlon PetryDate: 2006-09-29 13:40:12
Subject: Re: Backup and restore through JDBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group