473,543 Members | 1,903 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
2,772
thread by: SYT | last post Mar 11 '08 by: SYT
Hello, I wrote C program for connecting to postgresSQL server to retrieve data from the postgres database. The program is: #include <stdio.h> #include <stdlib.h> #include "libpq-fe.h" int Search(inStruct Sentries)
0
2,436
thread by: zeny | last post Mar 9 '08 by: zeny
Hi there, Is it possible to create nonclustered indexes? If so, how? Best Regards
3
3,076
thread by: poopsy | last post Mar 7 '08 by: rski
Hello Guys, Does any of you have a script for creating a sample database witch will include all kinds of objects that postgres suports ? I will be very glad if someone can help me! thx
1
2,486
thread by: zeny | last post Mar 7 '08 by: rski
Hi everybody! I have two questions concerning postgresql indexes: 1- Does PostgreSQL support bitmap indexes? 2- How does one create GIN indexes? (If you could give me an example, that would be great) Best Regards
0
4,252
thread by: nilart | last post Mar 6 '08 by: nilart
Hi , Our current windows application uses postgre 8.1 while next release will be using postgre 8.3 Naturally when application is upgraded ..postgre is expected to upgrade To support this upgrade we will be taking following path: 1) run pgdump & take backup of existing database
1
3,296
thread by: renatoes | last post Mar 5 '08 by: rski
Hi all, I'm wondering if someone could explain how can I run two different versions of Postgres (8.2 and 8.3) on the same server machine, point any websites or resources that discuss such problem. I've googled for more than two hours and could not find anything well explained. Thank you.
3
5,018
thread by: pandian80 | last post Mar 3 '08 by: rski
Hi All, Please guide us, Autobackup available in Postgresql. Thanks & Regards, PandiaRajan A
1
2,986
thread by: zeny | last post Mar 1 '08 by: rski
Hey folks! Can anyone tell me how to add data to a table using "copy" with several delimiters? Is it possible? What i mean is: Copy <table_name> from <file_directory> using delimiters <delimiters>; How its done the "<delimiters>" part? I tried several ways but i got out of ideas...
0
2,288
thread by: rski | last post Mar 1 '08 by: rski
Does anyone of you Experts try to change postgres source code so that it would be available to perform the undelete command (restore deleted rows when no vacumm was called)?
3
24,255
Chittaranjan
thread by: Chittaranjan | last post Mar 1 '08 by: rski
Hi All, I am not sure how to change the date format in PostgreSQL. I have the dates stored in the database as yyyy-mm-dd HH:MM:SS+TimeZone to get the GMT time (Ex: 2008-02-28 14:03:23+05:30). But I want these dates to be shown in the following format: dd/mm/yyyy HH:MM:SS TimeZone (Ex: 28/02/2008 14:03:23 IST)So now while I am trying to fetch...
0
2,265
thread by: naurus | last post Feb 27 '08 by: naurus
Hello, I'm currently working on an order management system that uses PHP and PostgreSQL. In my situation, I'd like to be able to use a cursor in order to do pagination. My PHP script checks (by cookie status) if a cursor has or hasn't been set, or has to be changed. If one hasn't been set, or it needs to change the SELECT statement, it...
7
12,264
thread by: mndprasad | last post Feb 27 '08 by: mndprasad
Hi, I made a blunder mistake..i have deleted some 100 rows from my table in postgres and that is very important in my project..pls give me a solution how to recover those deleted data ..i dont have any dump of that table.... thanks in advance
6
18,337
thread by: twinklyblue | last post Feb 21 '08 by: rski
Hi thescripts team, I would like to ask for your help once again regarding returning set of records in plpgsql. I followed examples presented in other sites regarding this function but my script doesnt work. here's my code create or replace function find_postal(varchar, varchar, varchar) returns setof record as ' declare ...
1
2,659
thread by: sasimca007 | last post Feb 21 '08 by: debasisdas
Hi friends, Can you help me for how to use regular expressions in select query? with an example. Please help me.
1
2,638
thread by: sunaynajoon | last post Feb 21 '08 by: rski
plj help me to know how to use stored procedure in postgresql and its advantages.......
0
2,126
thread by: scotthendo | last post Feb 19 '08 by: scotthendo
Hi guys, I have the following query: (SELECT extract(hour from request_time) || ':00-' || ((extract(hour from request_time))+1) || ':00' AS time, count(*) as hits FROM log_request GROUP BY extract(hour from request_time) ORDER BY extract(hour from request_time)) UNION ALL (SELECT 'Total', count(*)
1
4,326
thread by: ramvinay | last post Feb 19 '08 by: debasisdas
Hi, I am trying to develop user interface in CGI-PERL using CGI.pm module with DBI.pm module. while a form value is submitted to cgi program it is showing follwoing error "Couldn't connect to db1:5432/tcp: IO::Socket::INET: Permission denied at /usr/lib/perl5/site_perl/5.8.8/DBD/PgPP.pm line 124" Code is below #!/usr/bin/perl -w
2
5,724
thread by: san1014 | last post Feb 19 '08 by: debasisdas
Hi I have few questions. Pleae give me the answers. 1) In postgreSQL, how to declare and call the cursors in a stored procedural function? Ex: I want to display all the columns in a table in one cursor and also how to see the output. 2) tell me , the analytic functions in oracle connect by prior, sys_connect_by_path are existed in...
1
2,793
hi
thread by: milayaraja | last post Feb 18 '08 by: rski
How to save bitmap image into postgreSQL this is my id........
0
2,476
thread by: varathasiva | last post Feb 15 '08 by: varathasiva
Hi, I have delphi database application through delphi7 database postgresSQL8.1 and zeos6.1.I have two postgreSQL8.1 database server.One is windows server working local network another one is linux remote server.When i make the data entries want update the local and remote server.How it is possible through Zeos component.I am apperciate your...
0
2,745
thread by: san1014 | last post Feb 13 '08 by: san1014
Hi I have the postgreSQL version 8.3.0-1. When i am trying to install it on Windows XP, it giving the error as Internal account lookup failure: No mapping between account names and security IDs was done I have given the in the service configuration fields as Account name:san Account Domain:I Account password:databaseadministrator
1
2,594
thread by: coolminded | last post Feb 13 '08 by: rski
how to prevent users to use the specific databases. i mean i have lots of databases. so i want the particular user use the specified database only. is it possible to have password in the database to lock. thanx
3
3,036
thread by: coolminded | last post Feb 13 '08 by: rski
hi experts, can a function be triggered every day. for example if i want to run a query everyday, how can i write a trigger. i wrote a trigger which runs only when some event occurs but i need it to run automatically say in the specific time lets say. thanx in advance
2
8,360
thread by: yogamceS | last post Feb 13 '08 by: yogamceS
I am accesing the postgresql server using pgAdmin III tool, and trying to drop the database then I am getting an error as: Maintenance database can’t be dropped. ERROR: database "postgres" is being accessed by other users SQL state: 55006
2
4,418
thread by: dvelst | last post Feb 12 '08 by: dvelst
Hi All, I have the following query which was based on a working query in MySQL: (don't be afraid of the size of the query you see below, later on I will concentrate on part of this query) SELECT count(*) FROM ((SELECT * FROM tileinfo where julianDay BETWEEN DATE2JDAY(('2003-03-01 00:00:00'),0) AND DATE2JDAY(('2003-03-01 23:59:59' ),0) AND...

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.