Posts Tagged ‘bazy danych’
2008-07-12 14:40:56 CEST
| No Comments | Tags: bazy danych, context, postgresql, psql, psqlrc
CONTEXT messages are quite informative, but when you don’t need them, they can be real pain in the eyes:
psql:trees.sql:68: NOTICE: Adding tree structures to table public.testit.
CONTEXT: SQL function "add_tree_structure" statement 1
psql:trees.sql:68: NOTICE: Tree table will be public.testit_tree.
CONTEXT: SQL function "add_tree_structure" statement 1
psql:trees.sql:68: NOTICE: Primary key in source table is: id
CONTEXT: SQL function "add_tree_structure" statement 1
I mean – I know the context. I’m writing the sql file right now, how to disable it?
- MORE -
2008-06-11 22:33:39 CEST
| 7 Comments | Tags: bazy danych, pg84, postgresql, psql, waiting
Yes, finally! David Fetter wrote, and Heikki Linnakangas committed patch which adds on/off arguments to \timing:
- MORE -
2008-05-17 17:20:36 CEST
| 1 Comment | Tags: bazy danych, gin, pg84, postgresql, prefix, sequence, truncate, tsearch
Today we have two interesting patches:
- patch by Teodor Sigaev and Oleg Bartunov, and committed by Tom Lane, which adds interesting capability to GIN indexes
- patch by Zoltan Boszormenyi, also committed by Tom, which adds “RESTART” option to ALTER SEQUENCE. With some interesting consequences
- MORE -
2008-05-16 11:54:27 CEST
| 4 Comments | Tags: bazy danych, case, pg84, plpgsql, postgresql
Another patch from Pavel Stehule – committed by Tom Lane. This patch adds CASE construction to pl/PgSQL:
- MORE -
2008-05-15 17:33:36 CEST
| 4 Comments | Tags: bazy danych, functions, pg84, pg_stat_user_functions, postgresql, profiling, statistics, track_functions
Today another great patch, committed by Tom Lane. This patch was written by Martin Pihlak (with some edits by Tom).
- MORE -
2008-05-14 18:01:20 CEST
| 3 Comments | Tags: bazy danych, pg84, plpgsql, postgresql, raise
Today we have one new feature – extension of plpgsql’s RAISE command.
- MORE -
2008-05-10 21:09:50 CEST
| 9 Comments | Tags: bazy danych, explain, partial index, plan, postgresql, prepare
Friend from my previous employer told me that plans of execution of prepared statement, and the same statement run “as it” are different.
Well, I checked and this is what I found (it’s not shocking, it’s actually quite obvious, but You have to think about it for a while to “get it”).
- MORE -
2008-05-09 19:12:21 CEST
| No Comments | Tags: bazy danych, pg84, postgresql, psql, tabs, wrapped
Today I will describe 2 new patches which modify psql:
- MORE -
2008-05-08 17:16:43 CEST
| 6 Comments | Tags: bazy danych, domain, mysql, plperl, plpgsql, postgresql, timestamp
MySQL has this nifty/annoying feature/bug of special data type “TIMESTAMP”. It is like a DATETIME, but it gets automatically updated whenever you modify the row.
I’ll try to add the same feature to PostgreSQL.
- MORE -
2008-05-05 13:11:31 CEST
| 13 Comments | Tags: bazy danych, cast, implicit, pg83, postgresql
PostgreSQL 8.3 brought us many great new features. Among them were concurrent autovacuum, enums, tsearch in core.
On of the changes though made a lot of people dislike 8.3. It was removal of implicit casts.
- MORE -