# [PATCH] Support for geometric types in pg_convert()

- Thread: https://externals.io/message/14786
- Original archive: https://news-web.php.net/php.internals/14786
- Started by Benj Carson on 2005-02-10T08:39:12+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14786 — Benj Carson — 2005-02-10T08:39:12+00:00

URL: https://externals.io/message/14786#14786

Hello,

I've put together a patch[1] for pg_convert() that adds support for 
PostgreSQL's geometric types (point, line, box, path, polygon and circle).  
I couldn't find any bugs open for this, so I figured I should just send it 
in.  It also fixes some issues with the regexs for interval types I wrote 
in a previous patch.  If someone could review the patch and commit it, it 
would be much appreciated.  The patch is against CVS HEAD.

Thanks,


Benj Carson

[1] http://loki.digitaljunkies.ca/~benj/pgsql.c.diff.2.txt
