Sponsored Content
Top Forums UNIX for Advanced & Expert Users Small database that can be bundled with UNIX Post 302917240 by jim mcnamara on Monday 15th of September 2014 10:48:46 AM
Old 09-15-2014
Probably not.

Consider something else. There is a database that was part of most common UNIX implementations:
Berkeley db - just usually called db.

It has a very slightly restrictive license - you have to use it in house, you cannot market a product to customers that uses it.

HPUX versions had it when I used HPUX about 6 years ago.

Berkeley DB - Wikipedia, the free encyclopedia
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

small unix!

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

unix on a small drive?

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

Unix Database

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

Small UNIX problem

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

create database on unix

how can i create database on unix from command line (without using DBCA) (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

6. Programming

execution small C++ program in UNIX

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

Querying database from unix

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

Question about database in Unix

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

Need small help to write the code in unix

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

Processing small database which is not relational

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
PG_ESCAPE_STRING(3)													       PG_ESCAPE_STRING(3)

pg_escape_string - Escape a string for query

SYNOPSIS
string pg_escape_string ([resource $connection], string $data) DESCRIPTION
pg_escape_string(3) escapes a string for querying the database. It returns an escaped string in the PostgreSQL format without quotes. pg_escape_literal(3) is more preferred way to escape SQL parameters for PostgreSQL. addslashes(3) must not be used with PostgreSQL. If the type of the column is bytea, pg_escape_bytea(3) must be used instead. pg_escape_identifier(3) must be used to escape identifiers (e.g. ta- ble names, field names) Note This function requires PostgreSQL 7.2 or later. 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 $data - A string containing text to be escaped. RETURN VALUES
A string containing the escaped data. CHANGELOG
+--------+-------------------+ |Version | | | | | | | Description | | | | +--------+-------------------+ | 5.2.0 | | | | | | | $connection added | | | | +--------+-------------------+ EXAMPLES
Example #1 pg_escape_string(3) example <?php // Connect to the database $dbconn = pg_connect('dbname=foo'); // Read in a text file (containing apostrophes and backslashes) $data = file_get_contents('letter.txt'); // Escape the text data $escaped = pg_escape_string($data); // Insert it into the database pg_query("INSERT INTO correspondence (name, data) VALUES ('My letter', '{$escaped}')"); ?> SEE ALSO
pg_escape_bytea(3). PHP Documentation Group PG_ESCAPE_STRING(3)
All times are GMT -4. The time now is 12:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy