Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

PostgreSQL | Forum profile

Forum profile page for PostgreSQL on http://www.dbforums.com. This report page is the aggregated overview from a single forum: PostgreSQL, located on the Message Board at http://www.dbforums.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "PostgreSQL" on the Message Board at http://www.dbforums.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: dBforums - Database Support Community - PostgreSQL (site profile, domain info dbforums.com)
Title: PostgreSQL
Url: http://www.dbforums.com/postgresql/
Users activity: 21 posts per thread
Forum activity: 8 active threads during last week
 

Posting activity on PostgreSQL:

  Week Month 3 Months
Threads: 8 41 179
Post: 18 91 378
 

PostgreSQL Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
artacus72
3
user's latest post:
Loop through every Table in Schema
Published (2009-12-22 20:16:00)
Easiest way would be to just run the following query and past results back into query window and rerun. Code: SELECT 'ALTER TABLE ' || c.table_schema || '.' || c.table_name || ' ALTER COLUMN datecreated {SET DEFAULT now()};' FROM information_schema.columns c WHERE table_schema = 'public' AND column_name = 'datecreated' If you need to make it self contained, then you'll need to use EXECUTE...
MILMIL
2
user's latest post:
Urgent. Help needed.
Published (2009-12-22 14:03:00)
Thank u very much for you interest but I find the solution. Cheers Miltos.
MILMIL MILMIL is offline...
2
user's latest post:
Urgent. Help needed.
Published (2009-12-22 14:03:00)
Thank u very much for you interest but I find the solution. Cheers Miltos.
vetrivel
2
user's latest post:
Query Takes long time to bring...
Published (2009-12-28 01:42:00)
Quote: Originally Posted by vetrivel this below query takes short time to bring the output . EXPLAIN ANALYZE select sum(count) from ( select count(accseqno) from acc_axs_log a where exists (SELECT callid from acc_axs_log b where ( b.stime between '10:0:00' and '12:59:59' and b.sdate between '22/12/2009' and '26/12/2009' and b.callid = a.callid ) group by(callid) having count( distinct accseqno) = 1 )...
shammat
2
user's latest post:
pg_dump in crontab
Published (2009-12-28 04:35:00)
You can either set an environment variable to hold the password or create a password file. Details are here: http://www.postgresql.org/docs/current/static/libpq-envars.html http://www.postgresql.org/docs/current/static/libpq-pgpass.html
tcliam
1
user's latest post:
Loop through every Table in Schema
Published (2009-12-22 22:18:00)
Thanks for this artacus.
cheapkites
1
user's latest post:
PostgreSQL or Postgresql Plus by...
Published (2009-12-22 07:24:00)
Quote: Originally Posted by mvreade Thanks, I'll take your advice. All the best, Michael Nice thread - some good stuff to consider.
artacus72 artacus72 is offline...
1
user's latest post:
Urgent. Help needed.
Published (2009-12-22 13:27:00)
So the function returns the desired results when called in PgAdmin?
cheapkites Registered User
1
user's latest post:
PostgreSQL or Postgresql Plus by...
Published (2009-12-22 07:24:00)
Quote: Originally Posted by mvreade Thanks, I'll take your advice. All the best, Michael Nice thread - some good stuff to consider.
yogi1410
1
user's latest post:
Postgres silent installation...
Published (2009-12-23 07:40:00)
Hi I installed postgresql-8.3-int on WinXP SP2 using command msiexec /i "postgresql-8.2-int.msi" /qn INTERNALLAUNCH=1 DOSERVICE=1 DOINITDB=0 ADDLOCAL=ALL CREATESERVICEUSER=1 SERVICEDOMAIN="%COMPUTERNAME%" SERVICEPASSWORD="!qsdT2M#y*N%24" SUPERPASSWORD="!qsdT2M#y*N%28" LOCALE=C ENCODING="UTF8" It got installed but i am unable to start the service,...
 

Latest active threads on PostgreSQL::

dBforums - Database Support Community
Started 1 month, 1 week ago (2009-11-26 03:42:00)  by shammat
Quote: Originally Posted by helloworld7 If you have a field in select then you need to identify on the group as well. Which is true for all databases except MySQL. MySQLs "relaxed" way of dealing with GROUP BY ignores the standard and the fact that not having those columns in the group by can return undefined results....
Thread:  Show this thread (4 posts)   Thread info: How to select latest data(varchar) on group? Size: 1,936 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Quote:

	Originally Posted by helloworld7 If you have a field in select then you need to identify on the... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 5 days, 5 hours ago (2009-12-28 04:35:00)  by shammat
You can either set an environment variable to hold the password or create a password file. Details are here: http://www.postgresql.org/docs/current/static/li bpq-envars.html http://www.postgresql.org/docs/current/static/li bpq-pgpass.html
Thread:  Show this thread (2 posts)   Thread info: pg_dump in crontab Size: 269 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: You can either set an environment variable to hold the password or create a
password file.

Details are here:... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 5 days, 8 hours ago (2009-12-28 01:42:00)  by vetrivel
Quote: Originally Posted by vetrivel this below query takes short time to bring the output . EXPLAIN ANALYZE select sum(count) from ( select count(accseqno) from acc_axs_log a where exists (SELECT callid from acc_axs_log b where ( b.stime between '10:0:00' and '12:59:59' and b.sdate between '22/12/2009' and '26/12/2009' and b....
Thread:  Show this thread (2 posts)   Thread info: Query Takes long time to bring output Size: 2,287 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Quote:

	Originally Posted by vetrivel this below query takes short time to bring the output .

EXPLAIN ANALYZE select... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 week, 3 days ago (2009-12-23 08:28:00)  by shammat
Quote: Originally Posted by yogi1410 i found that there are no conf file installed. The conf file is created when you run initdb. So you need to included that somehow in your installation process. I have no experience with the msi installer, but you can simply use the zip binaries, extract them and run initdb ...
Thread:  Show this thread (2 posts)   Thread info: Postgres silent installation... Size: 2,330 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Quote:

	Originally Posted by yogi1410 i found that there are no conf file installed.

The conf file is created... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 week, 3 days ago (2009-12-22 20:16:00)  by artacus72
Easiest way would be to just run the following query and past results back into query window and rerun. Code: SELECT 'ALTER TABLE ' || c.table_schema || '.' || c.table_name || ' ALTER COLUMN datecreated {SET DEFAULT now()};' FROM information_schema.columns c WHERE table_schema = 'public' AND column_name = 'datecreated' If you need to make it self contained, then you'll need to...
Thread:  Show this thread (4 posts)   Thread info: Loop through every Table in Schema Size: 875 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Easiest way would be to just run the following query and past results back
into query window and rerun.... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 week, 4 days ago (2009-12-22 05:09:00)  by MILMIL MILMIL is offline Registered User
Hello everyone. I am in the final stage in completing my postgraduate thesis LBS & mobile GIS application. I have a web server application (restlet style), a google android client and a postgres/postgis DB. I am using postgres plus ver 8.3. The web server and the postgres server are installed on a IBM lenovo T500 notebook, 4G RAM, 2,80 GHz intel core duo, on windows XP PRO O/S For a ...
Thread:  Show this thread (6 posts)   Thread info: Urgent. Help needed. Size: 3,408 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Urgent. Help needed. :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 month, 1 week ago (2009-11-24 01:20:00)  by artacus72
Not much difference. The database itself is the same, they just bundle apache, php and some other stuff. It is released under the same as Postgres so there is no harm in using that one.
Thread:  Show this thread (9 posts)   Thread info: PostgreSQL or Postgresql Plus by Enterprise DB? Size: 185 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Not much difference. The database itself is the same, they just bundle
apache, php and some other stuff. It... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 2 weeks, 4 days ago (2009-12-14 12:52:00)  by manikandan.c manikandan.c is offline Registered User
DECLARE --TYPE RECORD IS REFCURSOR; v_CheckIn numeric(5); BEGIN IF(TG_OP = 'INSERT') THEN SELECT count(check_in) INTO v_checkin FROM hm_room_status WHERE ( check_in <= new.check_out AND check_out >= new.check_out ) AND (status_list ='CheckIn' or status_list = 'Reservation') AND hm_room_details_id = new.hm_room_details_id; IF(v_checkin >= 1 ) THEN...
Thread:  Show this thread (3 posts)   Thread info: Trigger Return Value Size: 1,415 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Trigger Return Value :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 1 week, 5 days ago (2009-12-21 04:51:00)  by shammat
As Latin1 is convertible to UTF8, a simple pg_dump and pg_restore should be enough Check the manual for details: http://www.postgresql.org/docs/current/static/ba ckup-dump.html
Thread:  Show this thread (3 posts)   Thread info: howto backup a postgre db from server1 to server2 with different charsets? Size: 200 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: As Latin1 is convertible to UTF8, a simple pg_dump and pg_restore should be
enough

Check the manual for details:... :: PostgreSQL :: dBforums - Database Support Community"
dBforums - Database Support Community
Started 2 weeks, 3 days ago (2009-12-16 03:33:00)  by shammat
To populate a variable from a SELECT statement use the INTO keyword. As far as I can tell the equivalent would be: Code: CREATE OR REPLACE FUNCTION foo(AccountID int ) RETURNS TABLE (accountid int, accountcompanyname character varying, smalllogoid int) AS $$ DECLARE country_id int; BEGIN SELECT CountryID INTO country_id FROM tblAccount WHERE ...
Thread:  Show this thread (8 posts)   Thread info: MSSQL SP to Postgresql Function Size: 1,394 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: To populate a variable from a SELECT statement use the INTO keyword.

As far as I can tell the... :: PostgreSQL :: dBforums - Database Support Community"
 

Hot threads for last week on PostgreSQL::

PostgreSQL
Started 5 days, 8 hours ago (2009-12-28 01:42:00)  by vetrivel
Quote: Originally Posted by vetrivel this below query takes short time to bring the output . EXPLAIN ANALYZE select sum(count) from ( select count(accseqno) from acc_axs_log a where exists (SELECT callid from acc_axs_log b where ( b.stime between '10:0:00' and '12:59:59' and b.sdate between '22/12/2009' and '26/12/2009' and b....
Thread:  Show this thread (2 posts)   Thread info: Query Takes long time to bring output Size: 2,287 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Quote:

	Originally Posted by vetrivel this below query takes short time to bring the output .

EXPLAIN ANALYZE select... :: PostgreSQL :: dBforums - Database Support Community"
PostgreSQL
Started 5 days, 5 hours ago (2009-12-28 04:35:00)  by shammat
You can either set an environment variable to hold the password or create a password file. Details are here: http://www.postgresql.org/docs/current/static/li bpq-envars.html http://www.postgresql.org/docs/current/static/li bpq-pgpass.html
Thread:  Show this thread (2 posts)   Thread info: pg_dump in crontab Size: 269 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: You can either set an environment variable to hold the password or create a
password file.

Details are here:... :: PostgreSQL :: dBforums - Database Support Community"
PostgreSQL
Started 1 month, 1 week ago (2009-11-26 03:42:00)  by shammat
Quote: Originally Posted by helloworld7 If you have a field in select then you need to identify on the group as well. Which is true for all databases except MySQL. MySQLs "relaxed" way of dealing with GROUP BY ignores the standard and the fact that not having those columns in the group by can return undefined results....
Thread:  Show this thread (4 posts)   Thread info: How to select latest data(varchar) on group? Size: 1,936 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Quote:

	Originally Posted by helloworld7 If you have a field in select then you need to identify on the... :: PostgreSQL :: dBforums - Database Support Community"