250 Topics

Member Avatar for
Member Avatar for forzadraco

how to copyng data from another database postgre to mySQL database without cronjob with realtime... php can do it..? thanks

Member Avatar for rgviza
0
73
Member Avatar for danielgee

Hi, When I execute queries which have a lot of data returned in the recordset my VB app seems to hang (IE: This program is not responding) I'm using ODBC to connect to the database and am using Postgres DB [CODE] Public db_name As String Public db_username As String Public …

Member Avatar for Oxiegen
0
182
Member Avatar for samnav

Does anyone know of a free tool or utility that I could use with pgAdmin III that would accomplish the same type of import functionality found in Navicat?

Member Avatar for samnav
0
86
Member Avatar for radhakrizz

hey ppl i'm using postgresql for backend.. once i connect it to the sever it should disconnect and all the update ,edit should be done offline and others should not edit the data in which im working.. for this i can use FOR update clause,, ???? can some one suggest …

0
77
Member Avatar for nelame

i need connect postgresql with vb, i cant figure out how to do it need submit proj soon. Plz can any1 send me z code and explain how it wrk, coz wana undrstand the connection n nt just copying

0
65
Member Avatar for chrisw09

I'm not sure it this is a post for PHP or the database forum, but since my question deals with php functions, i put it here. In the past when i would page results i do the following: 1) get the count of my full resultset 2) calculate limit and …

Member Avatar for forzadraco
0
1K
Member Avatar for fvillavi

Hi: I am trying to implement a distributed database application with Postgres similar to one that I've in Oracle. I can't find an equivalent Oracle DATABASE LINK in Postgres. Does any one know how to connect two remote sites in Postgres? Thank You. [email][email protected][/email]

0
64
Member Avatar for chunchuwar

Dear all, Here is output of my command -bash-3.1$ psql -l |cut -d "|" -f1 | grep -i repo repository repository_reports $ I want to drop these database thru script one by one. My requirement is to take the these o/p one by one and use it with dropdb command. …

Member Avatar for masijade
0
58
Member Avatar for EnderX

I have been working on a program designed to read information from an Access database and display it on the screen. As my main development box doesn't have a copy of Access on it, I copied the data over to a PostgreSQL database and attempted to work from that. Now, …

Member Avatar for CertGuard
0
125
Member Avatar for fernandodonster

I would like to take back of my database of postgress. now i am doing the command "pg_dumb " which written in a shell script and run it on command promt How it will do with PHP? Can i use that shell script in the PHP? Is there any need …

Member Avatar for fernandodonster
0
190
Member Avatar for fernandodonster

[COLOR=Red] want a php class to take back up and restore of my database (all tables) using posgress with status bar. help me??[/COLOR]

Member Avatar for Member #46692
0
76
Member Avatar for Mareq

I am in need of web template engine and I am considering two options. PHPSavant and Smarty. I am using PHP ver. 5 and PostgreSQL database. PHPSavant supports PHP5 only in beta2 version, so I am affraid of some serious bugs, but at the other hand, as far as I …

Member Avatar for couloir007
0
199
Member Avatar for Regie

I have a problem with my asp script that used to insert a data to postgreSQL database.This is the script : <% Dim sConnection, objConn , objRS ,sql sConnection ="DRIVER={postgreSQL};SERVER=localhost;database=sury a;UID=postgres;PASSWORD=admin;port=5432" Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open(sConnection) sql="insert into test(number,name) values('3','abcd')" set objRS = objConn.execute(sql) objRS.close Set objRS = Nothing objConn.Close …

Member Avatar for oscarsierra
0
81
Member Avatar for xen751

I have developed a database model for an organisation. This organisation has departments that do the same type of work so the schema I designed for one department is the same everywhere. But they are spread in different geographical locations. I have used PostgreSQL v8.2 as the back end and …

Member Avatar for debasisdas
0
80
Member Avatar for EnderX

Yesterday, I was attempting to reload a remote copy of a postgresql database that had been corrupted. Creating the new db went well, as did reloading the data schema, but somewhere during the reload of the data itself, I lost the remote connection. After killing the now-unworking putty connection and …

0
70
Member Avatar for saswati_mishra

Hi, I have written a jsp file to fetch data from a database table and display it in the form of a table in jsp. The idea is to generate a dynamic table. I have written the following code. <%@page import="java.sql.*"%> <html> <head> <title>The alert table</title> </head> <body> <h1>Alerts</h1> <% …

Member Avatar for ~s.o.s~
0
203
Member Avatar for Covinus

ive been trying to connect my c program and a postgre database using VC++. but i cant compile it because it cant find "postgres_fe.h". and also i cant find any tutorials about this one too. When i searched google, most are for linux. if anyone here knows some links to …

Member Avatar for ~s.o.s~
0
160
Member Avatar for mahajanrahuld

hi i need to connect the jsp page with database using hibernate framwork how to possible ? can any one have the example or source code for this it's urgent my configration is following hibernate+jsp+netbean5.0+tomacat server+postgreSQL database [COLOR=red][B][U]HELP ME URGENT PLZ[/U][/B][/COLOR]

Member Avatar for jwenting
0
79
Member Avatar for nehashri

hello i have my data stored in different Ms Excell sheets. now I am planning to make a database of the data i have. but i m confused whether to use Postgresql or mySQL for the same. i had plans to import data directly to Ms Access but there is …

0
92
Member Avatar for RwCC

Hey everyone, I have been told there is a way to get a users login name and their SID in C#, does anybody have code or know a very detailed and easy to understand site? What I am trying to do is this, when a user logs in my application …

Member Avatar for RwCC
0
2K
Member Avatar for parul195

i am facing some problems with the following code. initially the jdbc driver(jdbc 4/3) ws not getting registered...nw somehw that problem has been rectified.bt nw i m unable to connect with the database(PostgreSQL). The code i have written is as follows import java.sql.DriverManager; import java.sql.Connection; import java.sql.SQLException; public class Example1 …

Member Avatar for masijade
0
129
Member Avatar for EnderX

I've been given a piece of buggy code to attempt reviving. At the moment, every time I run it, I'm getting this error:[CODE]Database handle destroyed without explicit disconnect.[/CODE] A quick google search reveals that this indicates I'm not closing a connection. I had trouble figuring out why I was getting …

0
48
Member Avatar for Thendral

Hai.. I need to connect a database called "Postgresql" with a jsp code. how it can be done? I need the connection procedure for that. plz reply me..

Member Avatar for jwenting
0
117
Member Avatar for nehashri

Hi, I am using postgresql 8.1 an I am trying to connect to the postsql from JSP and servlets but I cannot find the driver name for the postgresql so I can use it in the jsp connection. i hv been sujjested to use jdbc but cannt find advantage of …

Member Avatar for nehashri
0
185
Member Avatar for ismaily

HELLO HOW TO DISPLAY AUTO_INCREMENT VALUE FROM THE THE DATABASE TO THE PAGE. $result = pg_query($conn, "INSERT INTO novice VALUES(NEXTVAL('sq'),'$title', '$firstname', '$lastname', '$username','$password','$street','$town', '$city', '$postcode', '$country', '$mobile', '$email')"); if (!$result ){ print " Please make sure you put the right input in the field"; exit; } print ("Thank You $title …

Member Avatar for John A
0
90
Member Avatar for EnderX

I've been requested to upgrade a postgres system running version 7.4.9 to one running version 8.1.3. There is another system running 8.1.3 with the data that we need to transfer over to the 7.4.9 system. Both systems are running SuSE 9.3 linux. Is there some command I can use to …

0
60
Member Avatar for rpjanaka

hi i am tring to use connection pooling in java with postgresql database. in given examples, i cant understand these file names that is given to create InitialContext object, also that file names are different for each and every examples. how can i get those files, and what are those..? …

Member Avatar for jwenting
0
242
Member Avatar for EnderX

I am currently in charge of a running installation of the Slony replication procedure for Postgresql databases. I inherited this installation from my predecessor; I have no clue how slony works. I am in need of some kind of beginner's guide, if anyone knows where such a thing might be …

Member Avatar for pty
0
146
Member Avatar for rpjanaka

Hi all............. I want to get the database error cord return by the database, to identify the error message and other messages. I am using postgresql database, they have provided their error cords, but still I don’t have any idea about how to do this, please any one can help …

Member Avatar for jwenting
0
359
Member Avatar for sivapri

Hi every body.This is siva from china.My s/w using postgres sql data base.Hw to use replication concept in postgres sql>if any body knows pls reply me.Advance thks

Member Avatar for happygeek
0
62
Member Avatar for pallavi jadhav

How to connect postgres through c language please send me connection establishing statements and theoriical notes.I am into development of querry optimiser in that i have to calculate the cost of the query with respect to space search strategy.please tell me about this also

0
101
Member Avatar for EnderX

Does anyone know how to change the ownership of a view in a postgres database? I have no clue how to do so, and all of the solutions I've seen so far online don't want to work for me. Thanks in advance, -EnderX

Member Avatar for pty
0
74
Member Avatar for EnderX

I'm trying to run a perl script designed to update the database on a remote server from the copy on our main server. Both dbs are in postgresql and running the slony replication setup. Semi-recently, the server went down on the remote unit and had to be replaced; I was …

Member Avatar for masijade
0
153
Member Avatar for EnderX

Has anyone here ever worked with the Slony database replication system? A while back, one of the (remote) servers we were running this on went down, and the server had to be replaced before we could get the DB back up. I was able to upload the database this morning, …

0
74
Member Avatar for EnderX

I've been requested to update a segment of a database, and given that it's kind of longish, I was looking for some way to directly write the data I've got from a file into the DB. I know it can be done via a third party; I have used Delphi …

Member Avatar for pritaeas
0
145
Member Avatar for EnderX

I do not know if this is the right place for this message to go, but there does not appear to be a forum specifically set up for the users of the PostgreSQL database, so this was the best match I could find. Does anyone know what function or functions …

Member Avatar for pty
0
83
Member Avatar for EnderX

Does Delphi have any way to escape symbols embedded in strings? I'm trying to write a database project, and have just run into a rather nasty problem; the db I'm working with, PostgreSQL, refuses to recognize equality to date functions unless the value being tested is contained within a pair …

Member Avatar for EnderX
0
196
Member Avatar for Fred Frazelle

the database module of the Open Source project OpenOffice. We (they) are having difficulties with the code in the Base module which allows updateable queries. See [url]http://www.openoffice.org/issues/show_bug.cgi?id=53377[/url] . i have volunteered to comb the web and place announcements on different sites in order to encourage volunteers to help with the …

0
89
Member Avatar for AK47

I am looking for a way to be able to setup a postgresql database on linux and mirror the database on a second server, keeping both databases syncronized in real-time. I'm not sure this would be considered a distributed database (although I'm open to suggestions on how to do that …

Member Avatar for pty
0
114
Member Avatar for maciek1024

Hi, I need to use function: SPI_modifytuple HeapTuple SPI_modifytuple(Relation rel, HeapTuple row, ncols, colnum, Datum * values, const char * nulls) How can I get object Relation? If I insert NULL as relation function does not modify tuples. I have found an example, when the function was called by trigger. …

Member Avatar for Dave Sinkula
0
173
Member Avatar for juergenkemeter

Hi there, Here is a (hopefully) convenient description of my situation: - I have a main folder, containing several subfolders. - Every (sub)folder contains one or more .xls - Workbooks. - Every Workbook contains one or more different Spreadsheets. - The workbooks contain some cells which have Hyperlink addresses to …

Member Avatar for bumsfeld
0
208
Member Avatar for Mareq

On my linux box, I have installed Debian GNU/Linux and Apache 2. I need to set up .htaccess with authentification data stored in Postgre SQL database. The problem is, that I can not find libapache2_mod_auth_pgsql. Only modules I found was libapache_mod_auth_pgsql (Postgres authentification Apache module for Apache version 1, not …

0
117
Member Avatar for pty

hi there. have come across this site many times in google results over the years and decided to sign up - it seems a really friendly board. a bit about me.. i'm currently a developer in the clinical sector, although im moving jobs in 3 weeks to be a (mssql) …

Member Avatar for Dani
0
99
Member Avatar for Sword

MySQL 5.0 vs. PostgreSQL 8.1 what is main diference? advantage? disadvantages?

0
126
Member Avatar for NilovSerge

Hi, all! How in PHP get ResultSet from function PostGreSql8.0.3(Windows) and how is constructed this PostGreSql-function? If possible, please, link to some example. Thanks in advance Nilov Serge

Member Avatar for srikanth1243
0
120
Member Avatar for mmiikkee12

I just got a JSP hosting account and I'm wondering how I can connect to the PostgreSQL DB and execute queries. According to the host's FAQ, the database URL is: jdbc:postgresql://localhost/username,username,password .

Member Avatar for mmiikkee12
0
157
Member Avatar for sam_k

Hi, I have installed postgresql-8.0.0 on my mandrake linux system.When try to create postgres user it say already exists. Further it allows to create the database and tables.But once i restart my system it says server not running . Also can anybody tell me what more addition changes are required …

0
88
Member Avatar for Rhydian

Hi, Does anyone know which grammar class SQL falls under (e.g. LL(1), LR(1), etc.)? Specifically the grammars for Oracle 10g and PostgreSQL 7.4? I need to build a parser for each language and want to select the most suitable class of parser generator for the task. Once which produces Java …

0
72
Member Avatar for PriceComparison

I am a programmer for PriceComparison.com. And I have just solved something quite remarkable and hard to solve. For anyone who has any index using an int8 / bigint field. You should take time to read this. The problem start when we noticed that any query with that int8 field …

0
152
Member Avatar for samaru

[url]http://builder.com.com/article.jhtml?id=u00320020624gcn01.htm[/url] From article: [ When to use MySQL] Why would you use MySQL over PostgreSQL? First, we need to consider the needs of the applications in terms of database requirements. If I want to create a Web application and performance is an issue, MySQL will be my choice because it

0
184

The End.