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. I lead the Database Operations Group at OmniTI, where we work on some of todays largest database challenges. bio | writings 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
PG East 2010 March 25th - 28th At Philadelphia, Pennsylvania PGCon 2010 May 18th - 21st At Ottawa, Canada Recent MusingsYou were saying? about Actually, the Relational Model doesn't scale Tue, 09.03.2010 19:39 I'm way too lazy to type it al l, and it's not on the web, so far as I know, but here's the bottom of pg. 485: S [...] about Actually, the Relational Model doesn't scale Tue, 09.03.2010 19:31 Jeff: >> That might be an inc idental benefit. Robert: > > but the freebie that comes along for the ride is, l [...] about Actually, the Relational Model doesn't scale Tue, 09.03.2010 16:06 "The point of the relational m odel... is to slay the scalabi lity dragon by avoiding the by te bloat in the first pl [...] Blog Administration |