07-28-2016
I solved the problem by installing Zabbix with PostgreSQL
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi everybody,
I am currently setting up a web site for customers to place orders. Having placed the order the file will be downloaded onto the Unix server (SCO UNIX v 5.0.4). At this point I need to be able to monitor the system for the file being resident and if it is then perform an action on... (2 Replies)
Discussion started by: cookiejar
2 Replies
2. News, Links, Events and Announcements
If you haven't heard about this elsewhere, here is one link to the story. But here is a pdf file from IBM's website listing the patents. (5 Replies)
Discussion started by: Perderabo
5 Replies
3. Solaris
i am looking for a really good monitoring solftware for solaris .
i need it to be installed on a server and accessed from a client application on windows , with some nice GUI interfaces .
thanks (6 Replies)
Discussion started by: ppass
6 Replies
4. UNIX for Dummies Questions & Answers
hi
can i know if there is any GUI interface software to help in monitoring the network of the servers i have? something like a web pages or a stock pages when a processes is down, a red colour is flashes. best if it is free ;) (1 Reply)
Discussion started by: legato
1 Replies
5. AIX
Hi All,
im trying to find some older versions of software due to a problem that i'm having after upgrading.
namely.
devices.sdd.43.rte
ibm2105.rte version 32.6.100.18
devices.fcp.disk.ibm2105.rte version 32.6.100.18
devices.scsi.disk.ibm2105.rte version 32.6.100.18
Anyone any ideas... (0 Replies)
Discussion started by: djdavies
0 Replies
6. UNIX for Advanced & Expert Users
Guys,
I need a monitoring software for my Unix servers.
Over the last couple of years, the number has increased to well over 40 servers.
All have different applications running on them and it is impossible to go to everyone of them and do checks.
I was using Spotlight on Unix.
I was... (1 Reply)
Discussion started by: jair
1 Replies
7. AIX
Hi,
I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware?
Thanks & Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
8. AIX
Hi,
How to create new SNMP at aix configuration?
Can your share in this the step by step..
regards, (1 Reply)
Discussion started by: williamen
1 Replies
9. Infrastructure Monitoring
Hi All
We have a new site going live. with 80 switches , 10 servers
We have used nagios ,icinga,mrtg and others
what do users think is the best new software worth a look?
thanks
Richard (1 Reply)
Discussion started by: rdunne
1 Replies
10. AIX
Hi There,
I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available).
Anyone could provide me the following answer -
Can IBM VM been deploy on X86 and X64 (Intel Chip)?
If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies
LEARN ABOUT PHP
pg_unescape_bytea
PG_UNESCAPE_BYTEA(3) PG_UNESCAPE_BYTEA(3)
pg_unescape_bytea - Unescape binary for bytea type
SYNOPSIS
string pg_unescape_bytea (string $data)
DESCRIPTION
pg_unescape_bytea(3) unescapes PostgreSQL bytea data values. It returns the unescaped string, possibly containing binary data.
Note
When you SELECT a bytea type, PostgreSQL returns octal byte values prefixed with '' (e.g. 32). Users are supposed to convert
back to binary format manually.
This function requires PostgreSQL 7.2 or later. With PostgreSQL 7.2.0 and 7.2.1, bytea values must be cast when you enable multi-
byte support. i.e. INSERT INTO test_table (image) VALUES ('$image_escaped'::bytea); PostgreSQL 7.2.2 or later does not need a cast.
The exception is when the client and backend character encoding does not match, and there may be multi-byte stream error. User must
then cast to bytea to avoid this error.
PARAMETERS
o $data
- A string containing PostgreSQL bytea data to be converted into a PHP binary string.
RETURN VALUES
A string containing the unescaped data.
EXAMPLES
Example #1
pg_unescape_bytea(3) example
<?php
// Connect to the database
$dbconn = pg_connect('dbname=foo');
// Get the bytea data
$res = pg_query("SELECT data FROM gallery WHERE name='Pine trees'");
$raw = pg_fetch_result($res, 'data');
// Convert to binary and send to the browser
header('Content-type: image/jpeg');
echo pg_unescape_bytea($raw);
?>
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.5.1 | |
| | |
| | A warning is thrown if the input string is |
| | invalid. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
pg_escape_bytea(3), pg_escape_string(3).
PHP Documentation Group PG_UNESCAPE_BYTEA(3)