X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3CE91D1B192 for ; Thu, 29 Jul 2004 06:45:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46864-06 for ; Thu, 29 Jul 2004 09:45:52 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by svr1.postgresql.org (Postfix) with ESMTP id 4F1F4D1B171 for ; Thu, 29 Jul 2004 06:45:49 -0300 (ADT) Received: by mproxy.gmail.com with SMTP id 73so1917rnk for ; Thu, 29 Jul 2004 02:45:51 -0700 (PDT) Received: by 10.38.208.34 with SMTP id f34mr10658rng; Thu, 29 Jul 2004 02:45:51 -0700 (PDT) Message-ID: <235b1a280407290245e75fa19@mail.gmail.com> Date: Thu, 29 Jul 2004 17:45:51 +0800 From: azah azah To: pgsql-php@postgresql.org Subject: inet_aton in mysql, how to convert it to postresql? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200407/42 X-Sequence-Number: 2867 Hi, I need some help to solve a problem regarding transfer from mysql to postresql. Previously in mysql, we use inet_aton such below: select inet_aton(namatable.host) from ... how can i do in postresql?? -azah