Skip site navigation (1) Skip section navigation (2)

How to get dow in Hungarian?

From: Csanyi Pal <csanyipal(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: How to get dow in Hungarian?
Date: 2012-07-26 05:11:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

I have installed PostgreSQL 9.1.4 on my Debian GNU/Linux testing/sid

I have on it the 'iskolanaptar_201213' database and in it the
'az_1_felev_kezdete_vege_es_napok_szama' view. 

I can run this view on the psql prompt: 

CREATE OR REPLACE VIEW az_1_felev_kezdete_vege_es_napok_szama \
AS SELECT felevek_kezdetei_1_8.datum AS "Az 1. félév kezdete,",\
 to_char(felevek_kezdetei_1_8.datum, 'day') AS "a első nap", \
felev1_vege_tan_nap_1_8.datum AS "a félév vége,", \
to_char(felev1_vege_tan_nap_1_8.datum, 'day') \
AS "az utolsó nap", felev1_vege_tan_nap_1_8.ennyi_tan_nap \
AS "és a napok száma a félévben minden osztálynak." \
FROM felev1_vege_tan_nap_1_8, felevek_kezdetei_1_8 \
WHERE felevek_kezdetei_1_8.felev1v2 = '1';

and get the output by running:
select * from az_1_felev_kezdete_vege_es_napok_szama;

 Az 1. félév kezdete, | az első nap | a félév vége, | az utolsó nap | és a napok száma a félévben minden osztálynak. 
 2012-09-03           | monday      | 2012-12-21    | friday        |                                             78
(1 row)

How can I get the day name say 'monday' not in English but in Hungarian?

Regards from Pal


pgsql-novice by date

Next:From: Tom LaneDate: 2012-07-26 05:23:46
Subject: Re: How to get dow in Hungarian?
Previous:From: Tom LaneDate: 2012-07-25 22:21:48
Subject: Re: Can't modify a view when in phpPgAdmin

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group