473,748 Members | 2,659 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.
0
1,254
thread by: hyunkichung | last post Dec 9 '06 by: hyunkichung
Hi, I have been tesing a trigger procedure. I'd like to know how i can assgign the return value of the aggregation fuction to a user-defined variable. I have an example below. I'm trying to get st_count to have a retun value of the count(id). However, when i tested, the assignment didn't perform correctly. and the update opeartion didn't...
4
1,370
thread by: elsheh | last post Dec 8 '06 by: michaelb
Hi everyone Is there any way to make INSERT statement more general by placing a variable as a parameter for VALUE word? In other words I need to use the following statement instead of the later on. String vval=”xx,yy”; Sql= INSERT INTO “tablename” VALUES (vval); The original statement is: Sql= INSERT INTO “tablename” VALUES (xx,yy);
0
3,215
thread by: kalen | last post Dec 8 '06 by: kalen
Hi, (I'm brand new to Postgres.) I'd like to set up a Postgres db/server on an XP machine, and develop apps in Visual C++ (.NET) that access the database. Should I do this using the Windows ODBC driver? If so, can you point me to web refs/sources that can help with the setup procedure. Will this limit me to SQL commands via ODBC only?...
0
1,491
thread by: vineetkumar | last post Dec 8 '06 by: vineetkumar
dear all, i have a problem to maintain the Transaction Logging Mechanism in postgresql 8.1 so please send reply how i can maintain Rollback Segment, LogFiles, and every day transaction file . is there any facility in postgres because oracle provide archive
3
2,447
thread by: prisum | last post Dec 7 '06 by: prisum
Hi all, II am facing some problem in connecting the DB from non-local systems. I am using Windows Xp and PostGre SQl 7.3.6. I have made " tcpip_socket" to "true" in the postgresql.conf file. But still it is giving error while connecting from non-local system. In the local system, where the DB is installed; it is successfully connecting...
0
2,249
thread by: vineetkumar | last post Nov 29 '06 by: vineetkumar
how i can handle exception in postgresql. i have a problem to handle exception in postgres functions please reply ASAP.
0
1,916
thread by: subhashree | last post Nov 29 '06 by: subhashree
hi, i am getting the following error in postgres.can anybody help me? PrivSubCategoryEntity-getSubCategories:sqlorg.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block PrivSubCategoryProcess-getSubCategories: objReturnTUVClasses.tuvhelper.ErrorObject@3f136e...
0
1,150
thread by: subhashree | last post Nov 29 '06 by: subhashree
hi, i ve doubt in postgress. the following error i am getting. PrivSubCategoryEntity-getSubCategories:sqlorg.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block PrivSubCategoryProcess-getSubCategories: objReturnTUVClasses.tuvhelper.ErrorObject@3f136e...
0
1,568
diamond1
thread by: diamond1 | last post Nov 25 '06 by: diamond1
How can I modify the source code of postgres 8.1 to make it enable to support multimedia (images and voices)? In fact, I have to modify the source code of postgres to support image & audio files (storing then retrieving) even if it can be done without modifing the code but first I should to write the algorithm which do that I hope that was...
1
2,967
thread by: bhobbs | last post Nov 23 '06 by: cam
We have a PostgreSQL database that contains several linking tables (all they contain is two foreign keys to link 2 other tables together). Is it necessary and/or advisable to specify the two attributes in these tables as a joint primary key? There is some disagreement among our team members and I'd like to get some more opinions. Thanks,...
0
1,609
thread by: Johnson | last post Nov 23 '06 by: Johnson
In postgres I have two database say A and B. My Application uses libpq interface to connect to the database. The application is working fine but after some point of time, one of the database(say B) is refusing the connection to my application I,e postgres does not allow my application to connect to database B. But i am manually able to login to...
0
1,155
thread by: ajay123 | last post Nov 23 '06 by: ajay123
Can I have CA-Visual Objects 2.5 as frotend and the PostgreSQL as Backend? .....!!!! Hari haran
0
1,242
thread by: himanshu2kk | last post Nov 22 '06 by: himanshu2kk
Hi, I have an application written in Java that connects to PostgreSQL 8.1 through JDBC 2. It keeps firing queries to the DB every 2 minutes. After running for a while (by the time it sends some 30k-50k queries) to DB, it stops fetching data from the database. It does not throw any exception reporting the Connection has broken or anything else....
0
1,236
thread by: artistlikeu | last post Nov 21 '06 by: artistlikeu
pgdijkstra is a function of postgis. this is used to find shortest path between two nodes on a network. can any one tell if i want to read how to structure the database for pgdijkstra. OR i need simple a node table with start and end node and a road table which has polygons and distance. if some one kindly launch link for documentation. ...
0
2,225
thread by: Steve Rogers | last post Nov 18 '06 by: Steve Rogers
I have done database work with Borland C++ Builder and Paradox, and with ..NET and SQL Server and Paradox. I am considering a new projects with ..NET in either VB.NET or C# and I want to select between either MySQL or PostgreSql as the database. I want ideas on which database would be the best choice and for which reasons. I have a...
0
1,469
thread by: artistlikeu | last post Nov 17 '06 by: artistlikeu
Hi all, pgdijkstra is a postgresql module to perform shortest queries. i ahve road network and associated nodes data in postgresql. i want to apply this module for shortest path. Can any one tell me how pgdijkstra organizes data.? How spatial data is managed in Postgresql if i have to use this module for shortest path. regards
0
2,198
thread by: squirrelonfire | last post Nov 15 '06 by: squirrelonfire
Hi I run postgreSQL from a remote server like this SSH -X cnguyen_db@okaram.spsu.edu ....enter the password Then I run bluefish& and psql The problem I'm having is that I can't copy and paste my code from bluefish to psql in the Xterm window. When I click middle click, it didn't do anything, when do Ctrl V, it didn't do anything neither....
3
2,062
thread by: artistlikeu | last post Nov 14 '06 by: michaelb
i have a table of car. In my table there is a column of time which stores traveling time of individual car in "HH:MM:SS" format. I write a query and get time in the same format. i will write my problem below. Can i write a function for this table that whenever i select this column, i must get time in seconds i.e integers. thnx @rtist
0
1,201
thread by: sudarshanvenkat | last post Nov 13 '06 by: sudarshanvenkat
I have created a user interface using mozilla programming(XUl and Css) Now i ahve to connect a database with the user interface.. as iama starter i just dont know how to install postgresql and link the userinterface with it.. can anybody please help me in this regard
0
1,443
thread by: rainerk | last post Nov 9 '06 by: rainerk
Hello, I created the following table: CREATE TABLE ttable ( z int4, pos point ) WITH OIDS;
5
2,684
thread by: artistlikeu | last post Nov 6 '06 by: michaelb
i have time column in my database whose data type is "time" i.e 00:00:00. in python i make a query and get this table as string. I want this time only in seconds i.e. integers. What i have to do???
0
1,280
thread by: artistlikeu | last post Nov 6 '06 by: artistlikeu
i have two tables in my database say A and B. Table A has two columns. Id and name. Id is the PK of A is a serial number. Table B has three columns. Id, Path and start position. Data type of pth is int. This path column also has FK constraint with id of table A through a function. i want to write a query so that i can have id of two...
2
2,012
thread by: rhys | last post Nov 5 '06 by: rhys
I am apparently not qualified to drive this car. I am running Debian Linux 2.6.8-2-686, PHP4, and PostGreSQL. I have been working on this project for almost 15 years. Recently I converted my trade-secret database from C-ISAM to PGSQL using flat files, and it apparently worked. My master file has only one field as its key - project number - up...
0
1,384
thread by: ashok1234 | last post Nov 1 '06 by: ashok1234
I have a requirement of migration database from postgresql to oracle. Please send me a scripts to migrate database.. It's urgent for me..
0
1,303
thread by: sraj4 | last post Oct 31 '06 by: sraj4
hi all, I am new to post gresql,don't mind if its a simple one , I need to collect the values from the flat table and insert it into relational tables,i am just wondering if you guys can help me on how to insert the values onto main tables using the ID's as central key..

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.