pg.ddx.io pgsql-php@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Error Messages 2+ messages / 2 participants [nested] [flat]
* Error Messages @ 2002-07-10 20:52 Hillensbeck, Preston <PHillensbeck@sfbcic.com> 0 siblings, 1 reply; 2+ messages in thread From: Hillensbeck, Preston @ 2002-07-10 20:52 UTC (permalink / raw) To: pgsql-php A while back, someone gave me some php code to print out the values that were in certain values and print them to the screen. There was a command you had to run before you ran pg_errormessage($function); Anyone know what I am talking about? I am trying to troubleshoot some code and need that function, it was like db_something or other. Thanks. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Error Messages @ 2002-07-10 20:55 Chadwick Rolfs <cmr@shell.gis.net> parent: Hillensbeck, Preston <PHillensbeck@sfbcic.com> 0 siblings, 0 replies; 2+ messages in thread From: Chadwick Rolfs @ 2002-07-10 20:55 UTC (permalink / raw) To: pgsql-php On Wed, 10 Jul 2002, Hillensbeck, Preston wrote: > A while back, someone gave me some php code to print out the values that > were in certain values and print them to the screen. There was a command > you had to run before you ran pg_errormessage($function); > > Anyone know what I am talking about? I am trying to troubleshoot some code > and need that function, it was like db_something or other. Thanks. > I'm just commenting on this message, and it's attached footer. It looks like what Preston needs to do is read the footer (below my message, but before my .sig), and try taking it's advice. In order to help, I would need to go there myself, anyway :) -- just thought it was kind-of ironic. pg_errormessage() does not get a function passed in as an argument, it gets a connection resource. Perhaps that is what you are looking for,, you will need to call pg_connect, and pass the returned postgresql resource to pg_errormessage. another option is tail /var/log/apache/error.log (yours may be much different, just wherever your php logs are) HTH > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -Chadwick ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-07-10 20:55 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-07-10 20:52 Error Messages Hillensbeck, Preston <PHillensbeck@sfbcic.com> 2002-07-10 20:55 ` Chadwick Rolfs <cmr@shell.gis.net>
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