pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedinet_aton in mysql, how to convert it to postresql?
2+ messages / 2 participants
[nested] [flat]
* inet_aton in mysql, how to convert it to postresql?
@ 2004-07-29 09:45 azah azah <izza76@gmail.com>
2004-07-29 14:53 ` Re: inet_aton in mysql, how to convert it to postresql? Christopher Kings-Lynne <chriskl@familyhealth.com.au>
0 siblings, 1 reply; 2+ messages in thread
From: azah azah @ 2004-07-29 09:45 UTC (permalink / raw)
To: pgsql-php
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: inet_aton in mysql, how to convert it to postresql?
2004-07-29 09:45 inet_aton in mysql, how to convert it to postresql? azah azah <izza76@gmail.com>
@ 2004-07-29 14:53 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Kings-Lynne @ 2004-07-29 14:53 UTC (permalink / raw)
To: azah azah <izza76@gmail.com>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-07-29 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 09:45 inet_aton in mysql, how to convert it to postresql? azah azah <izza76@gmail.com>
2004-07-29 14:53 ` Christopher Kings-Lynne <chriskl@familyhealth.com.au>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox