PHP Script:
";
$s = "DROP TABLE t123;"; // table doesn't exist
pg_send_query($c, $s);
$r = pg_get_result($c);
echo "Source function: " . pg_result_error_field($r,
PGSQL_DIAG_SOURCE_FUNCTION) . "";
pg_close($c);
}
if($c = pg_connect("host=192.168.0.60 dbname=xxx user=xxx password=xxx
por
The following bug has been logged online:
Bug reference: 5318
Logged by: IP
Email address: ireneusz.pastus...@poczta.fm
PostgreSQL version: 8.4.2
Operating system: Sun Solaris 10 x86
Description:Inconsistent PHP pg_result_error_field
PGSQL_DIAG_SOURCE_FUNCTION across
That seems to be the reason. I have just installed 8.4.2 from source using
/usr/sfw/bin/gcc
and the function is working now. The version with function that didn't
return anything was installed from package, so I will try to contact
maintainer - maybe there is a chance this functionality.
---
What is the final outcome? Will the Sun Solaris' PostgreSQL 8.4.2 packages
be rebuild so that PGSQL_DIAG_SOURCE_FUNCTION is operational, or rather not?
--
Szybkie i niedrogie... Tylko dla mezczyzn!
Sprawdz >>> http://link.inte
Hi,
Thanks, great info. I will retest that, for sure. Nevertheless status of
PostgreSQL packages for Sun Solaris is something really interesting ;-) Here
http://www.postgresql.org/download/solaris we can read that the packages are
produced by Sun. That's the reason I call them that way.
Many
The following bug has been logged online:
Bug reference: 4048
Logged by: IP
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.3.0
Operating system: Windows XP PL SP2
Description:Can't install pltcl
Details:
-- Executing query:
CREATE LANGUAGE plpythonu;