10 More Discussions You Might Find Interesting
1. Solaris
hi,
i need to install SUNWi1cs and SUNWi15cs packages for solaris 10 sparc 64 bit , where can i download these packages .
Thanks . (2 Replies)
Discussion started by: zeeshan047
2 Replies
2. Solaris
hi all
I just got a sun blade 2000 server for free. I need to load a solaris 10 for sparc OS to it.
the memory inside the box is 5gb. the cup is SUNW,UltraSPARC-III+ (1200 MHz @ 8:1, 8 MB).
so my questions is
1. do I need to install a 64bit os or a 32bit os?
2. where can I download the... (3 Replies)
Discussion started by: rs6000er
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (1 Reply)
Discussion started by: pink01
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (0 Replies)
Discussion started by: pink01
0 Replies
5. Solaris
Hi Gurus,
I need to check whether the compiler installed in my system supports 64bit compilation.
Server - Sun fire v490
OS - Solaris 5.9
Processor - Sparcv9 (64bit)
Install Directory - /opt/SUNWSpro
Compiler Model - Sun Forte C Compiler.
My development team is claiming that there... (20 Replies)
Discussion started by: Hari_Ganesh
20 Replies
6. Solaris
Hi,
i'm trying to compile apache 2.2.13 on solaris 10 sparc as 64bit and for some reason its always compiled as 32bit!
i know it can be done cause i've already done it before, so i'm not sure what am i doint wronghttp://forums.digitalpoint.com/images/smilies/frown.gif
i've edit /.profile... (0 Replies)
Discussion started by: levic
0 Replies
7. Solaris
In Sun Solaris 10, not able to create the key. JDK 1.6 Installed & PATH & JAVA_HOME both are referred to jdk 1.6. It is showing the belwo error
Error: wrap() failed
java.security.InvalidKeyException: wrap() failed
at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:395)
at... (10 Replies)
Discussion started by: saktiviji
10 Replies
8. Solaris
i have solaris 10 x86 64bit installed on my pc (dell 3100). i then decided to move my hard drive to another pc (dell 4600). I noticed that each time i boot up, the OS show as 32 bit (instead of 64bit) and i can't even get past this stage to the login page.
when i moved it back to dell 3100 it... (13 Replies)
Discussion started by: seyiisq
13 Replies
9. UNIX for Dummies Questions & Answers
Hi, I develop code using a few different solaris platforms. I've recently moved to SunOS 5.10 using the following c compiler.
Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
On this box and these versions I get hundreds of warnings that do not appear of the earlier solaris/c versions.
... (4 Replies)
Discussion started by: speedos82
4 Replies
10. Programming
Just that the Subject says.
I am looking for a C compiler for Linux x86 that will allow me to compile a C source code file and the resulting binary will be able to run on a Sparc running Solaris.
Thanks. (2 Replies)
Discussion started by: lyonsd
2 Replies
PG_LO_TRUNCATE(3) PG_LO_TRUNCATE(3)
pg_lo_truncate - Truncates a large object
SYNOPSIS
bool pg_lo_truncate (resource $large_object, int $size)
DESCRIPTION
pg_lo_truncate(3) truncates a large object resource.
To use the large object interface, it is necessary to enclose it within a transaction block.
PARAMETERS
o $large_object
- PostgreSQL large object (LOB) resource, returned by pg_lo_open(3).
o $size
- The number of bytes to truncate.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
pg_lo_truncate(3) example
<?php
$doc_oid = 189762345;
$database = pg_connect("dbname=jacarta");
pg_query($database, "begin");
$handle = pg_lo_open($database, $doc_oid, "r");
// Truncate to 0
pg_lo_truncate($handle, 0);
pg_query($database, "commit");
echo $data;
?>
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.6.0 | |
| | |
| | Added truncate function. It supports PostgreSQL |
| | 9.3's 64bit large object. Both client and server |
| | must support PostgreSQL 9.3 and PHP must be 64bit |
| | build to use 64bit large object. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
pg_lo_tell(3).
PHP Documentation Group PG_LO_TRUNCATE(3)