Re: inet_aton in mysql, how to convert it to postresql?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: azah azah <izza76(at)gmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: inet_aton in mysql, how to convert it to postresql?
Date: 2004-07-29 14:53:04
Message-ID: 41090F50.3090506@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> select inet_aton(namatable.host) from ...
>
> how can i do in postresql??

Try these:

http://www.postgresql.org/docs/7.4/static/functions-net.html

You need to be using the 'inet' or 'cidr' types.

Chris

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Bruno Wolff III 2004-07-29 18:00:10 Re: [ADMIN] Secure DB Systems - How to
Previous Message Scott Marlowe 2004-07-29 10:01:52 Re: default timestamp in postresql