10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
After doing some searching I noticed there doesnt seem to be a 64bit version of cvsup & it seems that the other utility thats used "csup" doesnt have as many options.
So what would be the best option for installing & upgrading pkgs or ports.
Can you still install "cvsup" & does it matter if its... (0 Replies)
Discussion started by: Browser
0 Replies
2. 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
3. Red Hat
Hi Friends,
Please help me to understand, how to enable async disk IO and Direct disk IO in ext3 filesystem on rhel5.
Regards,
Arumon (0 Replies)
Discussion started by: arumon
0 Replies
4. Programming
Is there an 'easy' way to convert 32Bit code to 64Bit code. I have this benchmark i need to run on different machines and it would be nice if i could run it on the 64 bit machines ass wel.
The output when compiling(1) and running(2) are the following:
(1)
linux:/home/user1/subbench/heapsort #... (7 Replies)
Discussion started by: demuynckr
7 Replies
5. Programming
Is it possible to compile the same source code on 32bit and 64bit systems?
I'm trying to compile OpenLDAP on AIX 5.3 64 bit with gcc but I get a memory fault when sarting it and I think it is caused by a 32bit vs 64bit problem. (1 Reply)
Discussion started by: rein
1 Replies
6. Linux
Hi,
I want to know what is command to know which will tell wheather linux is 32 or 64 bit (5 Replies)
Discussion started by: manoj.solaris
5 Replies
7. Programming
Hi
I have a 64bit C++ dynamic component built using Sun Forte compiler(CC) on one server.
I am opening this shared component using dlopen and checking if a particular function is defined or not. After that, when I am closing the component using dlclose, the program is crashing.
The... (3 Replies)
Discussion started by: ajphaj
3 Replies
8. Linux
Hello All,
Does anybody installed the subj? How it works? Any troubles/problems?
M (1 Reply)
Discussion started by: mg`
1 Replies
9. UNIX for Dummies Questions & Answers
when using the command :
cat /proc/cpuinfo I get some basic info back on the cpu..
but it doesn't tell me if I am using a 64 or 32 bit processor ..
a) is this the right command to find this ?
b) if it is not what is ? and how do I get that information..
thanx moxxx68 (2 Replies)
Discussion started by: moxxx68
2 Replies
10. UNIX for Dummies Questions & Answers
Whats the difference between 32bit and 64bit OS's or applications. I understand it a little but its just not clicking the way the teacher explained to me
thanks, any info would be much appreciated (1 Reply)
Discussion started by: eloquent99
1 Replies
PG_LO_TELL(3) PG_LO_TELL(3)
pg_lo_tell - Returns current seek position a of large object
SYNOPSIS
int pg_lo_tell (resource $large_object)
DESCRIPTION
pg_lo_tell(3) returns the current position (offset from the beginning) of a large object.
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).
RETURN VALUES
The current seek offset (in number of bytes) from the beginning of the large object. If there is an error, the return value is negative.
EXAMPLES
Example #1
pg_lo_tell(3) example
<?php
$doc_oid = 189762345;
$database = pg_connect("dbname=jacarta");
pg_query($database, "begin");
$handle = pg_lo_open($database, $doc_oid, "r");
// Skip first 50000 bytes
pg_lo_seek($handle, 50000, PGSQL_SEEK_SET);
// See how far we've skipped
$offset = pg_lo_tell($handle);
echo "Seek position is: $offset";
pg_query($database, "commit");
?>
The above example will output:
Seek position is: 50000
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.6.0 | |
| | |
| | Added PostgreSQL 9.3's 64bit large object sup- |
| | port. Both client and server must support Post- |
| | greSQL 9.3 and PHP must be 64bit build to use |
| | 64bit large object. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
pg_lo_seek(3).
PHP Documentation Group PG_LO_TELL(3)