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 I hardly gnu, you? Fri, 23.07.2010 15:26 Yeah, I talked with the Veraci ty guys at OSCon, they are def initely on a good track (it al so includes integrated d [...] about I hardly gnu, you? Mon, 19.07.2010 06:22 A lot of specialists state tha t loan help a lot of people to live the way they want, becau se they can feel free to [...] about I hardly gnu, you? Sun, 18.07.2010 19:15 Veracity (http://www.ericsink. com/entries/veracity_early.htm l) is supposed to be released under Apache 2.0 License [...] Blog Administration |