09-16-2014
What is wrong with PostgreSQL?
It is supported for every platform out there.
HPUX uses PG database for hardware events and alerts (SFM).
Database is as big as the data inside, and small PG database will not be overhead on the system.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i'm looking to put a very minimal unix on a 386 i just acquired. it needs to be downloadable and i need to install it using 3.5 floppies!
thanks for suggestions,
-nydel (4 Replies)
Discussion started by: nydel
4 Replies
2. UNIX for Dummies Questions & Answers
has any body put freebsd on a drive smaller than 80megs? (4 Replies)
Discussion started by: silverraindog
4 Replies
3. UNIX for Dummies Questions & Answers
Hi :)
I'm a new unix user and i don't know much things about it.At the moment i've to make a work about unix databases.so i decided to come here and ask for help, if someone could tell me about a site or other mean where i can get some information about this i'll be pleased.
Tanks for any... (3 Replies)
Discussion started by: Briga
3 Replies
4. Shell Programming and Scripting
I have a shell script that carries out an extraction process as follows:
For a given input file dummy which looks like the following:
a.txt
a 1
a 2
xnzbcnzbxcbzxncbmnzxbcmzx
546
456
45
5
6
56
a 3
b.txt
b1
b2 (1 Reply)
Discussion started by: nbvcxzdz
1 Replies
5. UNIX for Advanced & Expert Users
how can i create database on unix
from command line (without using DBCA) (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
6. Programming
Hi my friends
I am beginner unix programmer I have written small c++ program in text editor and I have change it mode to 555 to make it executable file to use it in unix O.P.
#include<iostream.h>
main()
{
cout<<"Hello World";
}
but some syntax erroe came for <<
can any one help... (5 Replies)
Discussion started by: bintaleb
5 Replies
7. Shell Programming and Scripting
Hi,
I have a shell script to query the database to get the statistics of tables like sum,max,min,etc of all numeric columns,max and min of date columns and length of varchar columns for each and every table. There are nearly 1600 tables. My script queries few tables like about 100 tables and... (3 Replies)
Discussion started by: ragavhere
3 Replies
8. UNIX for Dummies Questions & Answers
I want to write a command file in Unix that can access database. what unix command can access database.
Actually, I installed software in SCO Unix, there is a database. but I want to access database without run this software in unix. How can I do? (5 Replies)
Discussion started by: wendyz
5 Replies
9. UNIX and Linux Applications
Hi all,
I get data-files which has a particular identified on the 1st record( header ), based on which I've to load a constant for the 1st column of every row. How do I set in the control file using unix shell script.
Appreciate if someone can give me some directions on this.
Thanks in... (3 Replies)
Discussion started by: lkeswar
3 Replies
10. Shell Programming and Scripting
Hello,
Decided to edit the whole post as nobody was replying, and it was pretty darn big as it was. So I have to write this script for my assignment, and I am new to scripting. The problem is we have to handle command line args, process an operations file which adds supermarket items to a database... (7 Replies)
Discussion started by: gcampton
7 Replies
LEARN ABOUT PHP
pg_lo_export
PG_LO_EXPORT(3) PG_LO_EXPORT(3)
pg_lo_export - Export a large object to file
SYNOPSIS
bool pg_lo_export ([resource $connection], int $oid, string $pathname)
DESCRIPTION
pg_lo_export(3) takes a large object in a PostgreSQL database and saves its contents to a file on the local filesystem.
To use the large object interface, it is necessary to enclose it within a transaction block.
Note
This function used to be called pg_loexport(3).
PARAMETERS
o $connection
- PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection
is the last connection made by pg_connect(3) or pg_pconnect(3).
o $oid
- The $OID of the large object in the database.
o $pathname
- The full path and file name of the file in which to write the large object on the client filesystem.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
pg_lo_export(3) example
<?php
$database = pg_connect("dbname=jacarta");
pg_query($database, "begin");
$oid = pg_lo_create($database);
$handle = pg_lo_open($database, $oid, "w");
pg_lo_write($handle, "large object data");
pg_lo_close($handle);
pg_lo_export($database, $oid, '/tmp/lob.dat');
pg_query($database, "commit");
?>
SEE ALSO
pg_lo_import(3).
PHP Documentation Group PG_LO_EXPORT(3)