473,699 Members | 2,612 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PostgreSQL Database Forum

PostgreSQL ORDBMS database - Ask questions about PostgreSQL development, administration replication, clustering, connection pooling, tables, indexes, databases, performance, SQL, queries and more.
5
3,719
thread by: vijaylohkare | last post Mar 6 '07 by: michaelb
HI All, I want to know the command that will display all the execution plans which are generated by the parser in PostgreSQL. Is there any command to instruct PostgreSQL to choose a specific query plan. Regards Vijay
0
1,271
thread by: ngoyal | last post Mar 6 '07 by: ngoyal
Hello, Anybody aware of a multi-threaded test suite for Postgresql? Thanks, Neelam
1
2,348
diamond1
thread by: diamond1 | last post Mar 4 '07 by: michaelb
Hi all :rolleyes: I had create a table in postgresql like this: create table image { pic_id integer not null, picture oid, };
2
6,353
thread by: kalisha | last post Mar 4 '07 by: michaelb
Hello I want to upload many files with .spu extension (80000 files which has metadata) in raw format in to a databases using postgresql Can anyone suggest me way to do it.Waiting for your replies.
1
1,540
thread by: makhan | last post Mar 3 '07 by: michaelb
Hi I am trying to connect to the postgresql and make quries usuing my application in c language using the libpq library. I am using turbo c borland compiler. Can someone tell me how to setup the enviromnet and where to place files so that I can run examples given on the libpq site. Regards
3
12,803
nehashri
thread by: nehashri | last post Mar 2 '07 by: michaelb
I am trying to insert a large object into my dbs using: INSERT INTO table VALUES (lo_import ( ' z/image/image.jpg ' )); but i get the message saying that I need superuser privilidges to do it and that I should use client-side \lo_import command. Does anyone know how to use that command? And what is the syntax for \lo_import and export...
1
8,276
thread by: prabhun2004 | last post Mar 1 '07 by: michaelb
hi all i use postgresql database. There are two databases in that namely 'db1','db2'. In 'db1', thers is a table named as 'table_common'. In 'db2', there is a table named as 'table_common'.
1
4,615
thread by: janki | last post Feb 27 '07 by: michaelb
When through one webservice we are doing "update" operation and before doint "commit" , that instance crashes..now if i want to create some recovery service..i need to release locks ..but when i try to release locks using same username and password, they are not releases since we submit "rollback" command , we are indirectly creating a new...
1
2,014
thread by: gouse | last post Feb 26 '07 by: michaelb
Hello Friends, In a Table I am inserting more than 50,000 Records one by one. It was taking a lot of time . Is it There any good approach/solution for inserting records more than 50,000 one by one in a fast manner. I have the same Problem in Updating of Records also. Please help me regarding this issue. I am Using VC++ application As a Front...
1
6,507
Atli
thread by: Atli | last post Feb 26 '07 by: michaelb
Hi. I've been looking for a function similar to MySQL's sha() function in Postgre and I can't seem to find anything. The reason is that I have a system that is written for MySQL and I've been asked to make it compatible with Postgre. Thanks.
1
1,854
thread by: gouse | last post Feb 23 '07 by: michaelb
Hi Friends, I am Using the libpq 'C' interface as a interface in my VC++ Application. Here I would like to take a back up and restore that database using the libpq interface. Is it possible to take backup and restoring the database using the libpq 'C' Interface. If yes please give/send the solution. ThankQ
1
1,353
thread by: pg1234 | last post Feb 23 '07 by: michaelb
I have been reading through all the threads and trying a few different things. Essentially, I have a function that loops through a table and then performs some updates/inserts against other tables based on the row from the FOR LOOP. Currently, none of these inserts/updates are visible to other users until the LOOP and function are complete...
1
1,730
thread by: foo | last post Feb 21 '07 by: michaelb
i want to select a list of all user names and customer names. all names are in table 1 above. what does this sql statement look like? assume two tables: 1. t1, columns id (unique generated value), and name (some char value) for example, the t1 contains 1 customer name 1 2 customer name 2 3 user name 1 (at customer 1) 4 user name...
2
2,188
thread by: stpro13 | last post Feb 20 '07 by: Michael Raven
Hi all, I have a database (postgresql) designed with a particular schema. I have now set up a new postgresql database to store the same data (possibly some new info added) but has a different schema. (Basically, we have designed a new application and tweaked the database schema). The new db is set up using Java5 Java Persitence Architecture...
1
1,429
thread by: 123456prakash | last post Feb 15 '07 by: michaelb
hi all i have a doubt Suppose I have a table employee in which i have 3 fields no name and salary I have stored 100 records Now suppose i alter the table by adding two more fields say dep and address will my old data lost or not
4
2,897
thread by: enginious | last post Feb 15 '07 by: michaelb
Hi, I'm sure I'm asking a very easy question, but I am currently in the process of migrating from MS SQL to PostgreSQL and I am facing a few issues, which I would appreciate your help/advice on : 1. Is there a way to overcome what seems to be everything turning to lowercase in a query? For example this was the original stored procedure in...
4
1,621
nehashri
thread by: nehashri | last post Feb 15 '07 by: nehashri
Hi, I am using postgresql 8.1 an I am trying to connect to the postsql from JSP and servlets in linux platform but I cannot find the driver name for the postgresql so I can use it in the jsp connection. I would appreciate your help. Thanks, neha
5
2,574
thread by: bps4484 | last post Feb 14 '07 by: michaelb
I'm trying to do some date queries on a table, and I want to know if there is some builtin variable within the date datatype which can represent that a day, month, or year could be any value. For instance, if the variable were "*", I could write: table.datefield >= '*-10-*' and any date in table.datefield which had the month 10, 11 or...
1
2,045
thread by: lynux | last post Feb 13 '07 by: michaelb
Hye, I'm quite new in postgres.I have 2 problems that i do not how to solve. Hope somebody can help me. 1. Although i put my zone field is unique, postgres sometimes redundant my data automatically.Example : ----------------------------------- rundate | zone ----------------------------------- 01/30/2007 | #01
2
2,700
thread by: MarkD | last post Feb 13 '07 by: michaelb
Hi All, I have a system that stores information about a person, name addresses and so on and I would like to return a single row for each person in an SQL statement. This is so it can be placed in a view making it easy to obtain all information for person x. Since a person can have more than one address I thought I could build an array...
10
7,063
thread by: pankajprakash | last post Feb 9 '07 by: michaelb
Hi All, I Made a window application in c#.net and trying to fetch the record from the postgresql database. But whever i run the application "String was not recognized as a Valid Date Time" message show. This problem is arries from the database when it tries to fetch the record from a table in which timestampz datatype is used. so plz help me to...
1
1,644
thread by: hnkirank | last post Feb 9 '07 by: michaelb
When i try to execute this command CREATE TABLE "public"."tblIterator"("IteratorID" int4 NOT NULL DEFAULT nextval('"tblIterator_IteratorID_seq"'::regclass),"InitializerID" int4 NOT NULL ,"HasNextID" int4 NOT NULL ,PRIMARY KEY ("IteratorID"),FOREIGN KEY ("HasNextID") REFERENCES "public"."tblCode"("CodeID") ON UPDATE RESTRICT ON DELETE CASCADE...
1
4,455
thread by: artistlikeu | last post Feb 9 '07 by: MarkD
i have a column which contains arrays of variable length. for example one array contains 5 elements, another contains 2 elements, another array 10 elements. i have 500 records in this column i want to select all elements of an array then below all elements of another array and so on in a normal column. this is very urgent if some body can...
1
17,281
thread by: 123456prakash | last post Feb 8 '07 by: michaelb
PGDRIVER=org.postgresql.Driver PGURL=jdbc:postgresql://172.18.1.19:5432/test I am try to connect to pgsql but i am getting this error in windows XP Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. at org.postgresql.core.v3.ConnectionFactoryImpl. But if i use
1
4,114
thread by: JagPeram | last post Feb 7 '07 by: michaelb
i need to migrate data from a excel to db using java codes. if there is any site where i can find a solution for this?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.