aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-03-02 01:39:35 +0000
committerJörg Mayer <jmayer@loplof.de>2004-03-02 01:39:35 +0000
commit40c641cc32de6e22ce87c019ef8dd91ffd241d5e (patch)
tree5be27653122f7f38aafdfe4a9e8d219597995d1c
parent4a6e73c84adbf4900f395e02cff8d6e34f6d24d1 (diff)
Add a comment about PDU types
svn path=/trunk/; revision=10274
-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