aboutsummaryrefslogtreecommitdiffstats
path: root/packet-postgresql.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-02 01:39:35 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-02 01:39:35 +0000
commit11004a44dd80dc281f9e0a89e5b4ed2740aaa403 (patch)
tree5be27653122f7f38aafdfe4a9e8d219597995d1c /packet-postgresql.c
parent42817b9482cd0cf2deae895395b119327f5f74e2 (diff)
Add a comment about PDU types
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10274 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-postgresql.c')
-rw-r--r--packet-postgresql.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-postgresql.c b/packet-postgresql.c
index b3af5f3062..86ee8184f2 100644
--- a/packet-postgresql.c
+++ b/packet-postgresql.c
@@ -3,7 +3,7 @@
*
* Copyright 2004, Edwin Calo <calo@fusemail.com>
*
- * $Id: packet-postgresql.c,v 1.6 2004/02/19 08:56:50 guy Exp $
+ * $Id: packet-postgresql.c,v 1.7 2004/03/02 01:39:35 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -60,6 +60,15 @@ static gint ett_postgresql = -1;
* http://www.postgresql.org/docs/6.3/interactive/c50.htm
*
* for version 1.0 of the protocol.
+ *
+ * It looks like there are two types of PDUs: Old style and new style.
+ * New style PDUs start with a Length guint32, where the high byte is
+ * equal to 0. Old style PDUs start with a single Byte (different from 0)
+ * that contains the type of the PDU.
+ *
+ * The specific types can be found at:
+ * http://www.postgresql.org/docs/7.4/interactive/protocol-message-formats.html
+ *
*/
static void