Wednesday, February 25. 2009re: axonflux on building and scaling a startupTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Great post. One note: I arrived to the blog trough a feed agregator (Planet PG is I recall correctly), but the given URL was incorrect: http://www.xzilla.net/blog/2009/Feb/387.html
You might want to look into this issue (why is the aggregator serving the incorrect URL).
Hello Sir,
I had a question regarding your GREAT presentation on Pl/PHP on http://www.slideshare.net/xzilla/intro-to-plphp-oscon2007-presentation. Now, on page 62, you have given an example that contains the function pg_connect function to connect to a remote Postgresql database. Now my question is: I know pg_connect works from php. But when I am trying to run it within a function or trigger, postgresql says it does not recognize pg_connect function. Now my question, does pg_connect is part of pl/php or not. I appreciate your comments as an expert. I am eagerly waiting to hear from u.
A little off-topic for this post, but yes, you can use pg_connect from inside a function, but you have to make sure of two things; first that you are using plphu (the trusted version shouldn't be able to access an external function like that). second you need to make sure that the static php build you are using is compiled with pgsql support. Don't confuse the static build with any dynamic builds, you can have support in one but not the other. For more help, please email the pl/php mailing list.
|
QuicksearchThis is the weblog of Robert Treat (bio | writings). I lead the Database Operations Group at OmniTI, where we work on some of todays largest database challenges. Hire me! Need help with your database? We are available for large scale or short term engagements. Hire you! If you have experience with Postgres, MySQL, or Oracle, we are looking for people to join our team. Upcoming Events
OSCon 2010 July 19th - 23rd At Portland, Oregon Surge 2010 Sept 30th - Oct 1st At Baltimore, Maryland Recent MusingsYou were saying? about BWPUG September Meeting 2010-09-08: PostgreSQL Security and SE-Postgres Thu, 09.09.2010 10:18 Hello - Can someone post me eting notes or minutes? I'm i nterested to see the direction of SE-Postgres. Than [...] about Now What? (wrt OpenSolaris and your database) Wed, 18.08.2010 18:28 "and if you are moving off Ope nSolaris to get away from Orac le, "butter" seems like an odd choice." You might t [...] about Now What? (wrt OpenSolaris and your database) Mon, 16.08.2010 16:11 Link fixed, thanks Jignesh! Blog Administration |