Ask a Question related to PostgreSQL / PGSQL, Design and Development.

  1. #1

    Default Re: Change type

    On Tue, Jan 18, 2005 at 07:01:45PM +0000, Vladimir S. Petukhov wrote:
    > I want to dinamcly change type of column. If possible, of course.
    The FAQ discusses this:

    [url]http://www.postgresql.org/files/documentation/faqs/FAQ.html#4.4[/url]

    --
    Michael Fuhr
    [url]http://www.fuhr.org/~mfuhr/[/url]

    ---------------------------(end of broadcast)---------------------------
    TIP 6: Have you searched our list archives?

    [url]http://archives.postgresql.org[/url]

    Michael Fuhr Guest

  2. Similar Questions and Discussions

    1. Connection type change
      I am thinking about changing my connection type from LAN to FTP and am wondering will I have to send new keys to the users setup to use LAN? Reason...
    2. Can't change type of Stroke
      I am using Windows XP and InDesign CS. I have the Stroke Palette open with the Options open. I select the Type of Stroke then set the Point size....
    3. ID3 - Hyperlinks, change the zoom type
      When I make a TOC with PDF bookmarks, the created links always have a "Fixe" zoom type by default. I would need a "Fit in Window". Is it...
    4. type change for imported graphics
      I have an animated GIF in my cast. I want to change the file name member property so that I can load alternate animated GIF's into the movie. The...
    5. how do I change the file type
      highlight the file and press F2 then change the extension -- Harry Ohrn MS MVP www.webtree.ca/windowsxp "R Victor Walsh"...
  3. #2

    Default Re: Change type

    On Tue, 18 Jan 2005, Vladimir S. Petukhov wrote:
    > Hi!
    > Sorry for my English..
    > I want to dinamcly change type of column. If possible, of course.Trivial idia - create new temporary column, try to write value from old columt to temporarity (if type conersion ok - this made using select/update command and type conversion checks on client's side), then delete old column, and rename temporary column.. But this decision looked quite ill...
    > Do you have better idea?
    hmm,

    you may use generic type like 'varchar' to store your data
    > -- Я доcтаю из шиpоких штанин,В котоpых гpажданка одета,Воcемь ноpмальных. И двадцать одинЗапpещенных к ношенью пpедмета!
    > Now playing: 03 - Lara And Reyes - Exotico.mp3 AutoGenerated by fortune & xmms...
    > ---------------------------(end of broadcast)---------------------------TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
    >
    Regards,
    Oleg
    __________________________________________________ ___________
    Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
    Sternberg Astronomical Institute, Moscow University (Russia)
    Internet: [email]oleg@sai.msu.su[/email], [url]http://www.sai.msu.su/~megera/[/url]
    phone: +007(095)939-16-83, +007(095)939-23-83
    ---------------------------(end of broadcast)---------------------------
    TIP 3: if posting/reading through Usenet, please send an appropriate
    subscribe-nomail command to [email]majordomo@postgresql.org[/email] so that your
    message can get through to the mailing list cleanly

    Oleg Bartunov Guest

  4. #3

    Default Change type

    Hi!

    Sorry for my English..

    I want to dinamcly change type of column. If possible, of course.
    Trivial idia - create new temporary column, try to write value from old columt
    to temporarity (if type conersion ok - this made using select/update command
    and type conversion checks on client's side), then delete old column, and
    rename temporary column..
    But this decision looked quite ill...

    Do you have better idea?

    --
    Я доcтаю из шиpоких штанин,
    В котоpых гpажданка одета,
    Воcемь ноpмальных. И двадцать один
    Запpещенных к ношенью пpедмета!

    Now playing: 03 - Lara And Reyes - Exotico.mp3
    AutoGenerated by fortune & xmms...

    ---------------------------(end of broadcast)---------------------------
    TIP 9: the planner will ignore your desire to choose an index scan if your
    joining column's datatypes do not match

    Vladimir S. Petukhov Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139