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

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема send()/receive() and on-disk storage
Дата
Msg-id 451D2327.1080002@logix-tt.com
обсуждение исходный текст
Ответы Re: send()/receive() and on-disk storage  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Hi,

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/
TOASTing).

Is my assumption correct?

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

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

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Marlon Petry"
Дата:
Сообщение: Re: Backup and restore through JDBC
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: send()/receive() and on-disk storage